From ThisBlueWiki
Selva is a backup script written in Python which, given a starting point in the filesystem, traverses the entire tree backing up only the portions of the tree which the user wishes to be backed up. Backup is accomplished by rsync-in-place, which is the preferred method for backing up to a JungleDisk mounted volume. Users flag single directories for backup by placing a .backup file in them, and entire subtrees for backup by placing a .backup-recurse file in them. Individual directories can be excluded from backup by placing a .backup-skip file in them. Entire subtrees can be skipped by placing a .backup-skip-recurse file in them.
Selva depends on the JungleDisk command line interface having mounted a JungleDisk volume as a regular, read-write filesystem device.
If a deep subdirectory is selected for backup, its full path will be created in the target, but its parents will be empty (save for the necessary subdirectories) if they are not selected for backup.
Usage
selva [options] backup-source backup-dest
- -v
- verbose output
- -d
- dry run; only display what would be done, don't actually do it
- backup-source
- the root point in the file system where the backup should start.
- backup-dest
- the path in the mounted JungleDisk volume where the backup should be placed.
Scratchpad