Created
February 2, 2021 21:16
-
-
Save jimwhitfield/7a93571da2e41088aeba757b8572f100 to your computer and use it in GitHub Desktop.
cron entry to back up (by tar) list a list of files every 10 minutes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5,15,25,35,45,55 * * * * tar -C / -cvf $HOME/backup/files-`/bin/date +\%Y-\%m-\%d-\%H\%M`.tar --files-from=$HOME/backup/files.list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
list of files are all text-oriented config files
using tar and not compressed so that I can also diff them and delete older duplicate one(s)