Commit Graph

7 Commits (70a8b3f4b57deed5913dd2667f892f0facd34b3d)

Author SHA1 Message Date
Dustin C. Hatch 5ff79e49ba backup: Close file handles
--HG--
extra : amend_source : 8ee363811f104459f8346df1fccb1950c3ffc76c
2014-12-03 20:36:00 -06:00
Dustin C. Hatch 71ca5624cb backup: Do not copy UNIX-specific information
The `-a` switch to `rsync` causes it to copy extra information that may be
incompatible with the destination if it uses a non-native filesystem (such as
FAT or NTFS). Since most of this additional information is not necessary in a
backup and can cause copy errors, it should be excluded by default. Instead,
the `-r` flag is used to enable recursive copies, and the `-t` flag to
preserve file timestamps.
2014-12-03 20:35:42 -06:00
Dustin C. Hatch c07ab6bc0a backup: Clarify destination argument in help text 2014-10-14 21:43:17 -05:00
Dustin C. Hatch b84a1a9fa4 backup: Make configuration file argument optional
If not specified, a file named `backups.ini` in the directory specified by the
`XDG_CONFIG_DIR` environment variable (or `~/.config` if it is not set).
2014-10-14 21:42:56 -05:00
Dustin C. Hatch 2f53ee9cda backup: Print informational messages by default
To ensure that output is generated, even when no errors occur, and thus cron
sends an email message, we'll print some informational messages before and
after running the backup. These can be switched off with the `-q`/`--quiet`
argument.
2014-10-12 18:25:53 -05:00
Dustin C. Hatch 3602b4e1ce backup: Delete old files during backup 2014-10-12 18:24:07 -05:00
Dustin C. Hatch 75aced9aca backup: Script to do backups
--HG--
extra : amend_source : 4ca567426083c2760d4a11551bb5398e7b25ac6e
2014-10-12 17:50:04 -05:00