Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/cmdline.py
Commit message (Collapse)AuthorAgeFilesLines
* Implement --no-extractlistsArthur de Jong2015-06-011-0/+3
| | | | | | This option ensures that a full restore does not require extractlists. Note that this is less efficient than with extractlists because existing archives need to be discarded earlier.
* Fix handling of --block-sizeArthur de Jong2015-05-301-0/+2
| | | | | This handles handling of --block-size values that don't end in a suffix (fixes 4a2c63c).
* Add a --clean option to fsckArthur de Jong2015-05-171-0/+3
| | | | | The option removes files from the repository that either are currupt, unknown or have become redundant.
* Add an fsck commandArthur de Jong2015-05-171-0/+6
| | | | | | | | This command checks the repository to see if any files are missing or corrupt and whether backups can still be restored. This currently only reads meta-data files and only checks archive files presence.
* Implement a restore commandArthur de Jong2015-05-151-0/+12
| | | | This implements a command to restore files from a specific backup.
* Implement a --keep option for rmArthur de Jong2015-05-071-1/+15
| | | | | | | | This allows for specifying a policy for backups to keep. All other backups will be removed. This also implements a --no-act option to only print which backups would be removed.
* Change minimum archive usageArthur de Jong2015-04-101-1/+1
| | | | | | | | This ignores archives that will only be for 40% or less by default and make the percentage count towards effective use and use relative to block size. Also renames --min-files to --archive-min-files.
* Improve command-line handlingArthur de Jong2015-04-021-4/+26
| | | | | This moves a validation to cmdline, supports natural values for --block-size and does simple validation of the BACKUP argument.
* Add option for minimum number of filesMichel Wilson2015-03-271-0/+3
| | | | | | When backing up directories containing large files, archives with only one or two files are created. The --min-files option forces the archives to always contain at least a set amount of files.
* Implement a command to remove backupsArthur de Jong2015-03-151-0/+9
| | | | | This allows removing backups from the repository along with archives that have become redundant.
* Implement find commandArthur de Jong2015-03-081-0/+9
| | | | WIP: Implement a find command that finds files in archives
* Rename snapshot to backupArthur de Jong2015-03-011-10/+13
| | | | Don't use the term snapshot any more and use backup instead.
* Implement --exclude-from optionArthur de Jong2015-03-011-0/+3
| | | | This reads exclude patterns from a file.
* Implement --exclude optionArthur de Jong2015-03-011-0/+3
| | | | | | | This instructs the crawler to skip certain patterns from the backup. It supports * for matching any part of a file name, ** to also match /, ending the pattern with / to only match directories and starting the pattern with / to match the full path.
* Implement a command to list backup contentsArthur de Jong2015-03-011-0/+11
| | | | | This reads snapshot file list and filters and formats the output to be like ls.
* Implement a command to list backupsArthur de Jong2015-02-211-0/+5
| | | | | This writes an info.json file that contains information on each backup that was made and shows that information with a backups command.
* Implement xz compressionArthur de Jong2015-02-121-1/+1
|
* Implement a set-keys commandArthur de Jong2015-02-121-0/+8
| | | | | | This configures which PGP keys should be able to decrypt the backup. At least for one of the keys specified the private key should available during backup runs to be able to verify repository meta-data.
* Implement bzip2 compressionArthur de Jong2015-02-121-1/+1
|
* Initial version of command-line handlingArthur de Jong2015-02-121-0/+86