rdiff-backup

rdiff-backup (GNU) Cheatsheet #

The rdiff-backup command is used for incremental backups and restores in Unix-like operating systems.

Basic Commands #

Command/OptionExampleDescription
rdiff-backup src destrdiff-backup /home/user /backupBackup /home/user to /backup
rdiff-backup --restore-as-of 2024-01-01 src destrdiff-backup --restore-as-of 2024-01-01 /backup /restoreRestore /backup to its state as of January 1, 2024
rdiff-backup -r now src destrdiff-backup -r now /backup /restoreRestore the most recent backup from /backup to /restore
rdiff-backup --remove-older-than 30D srcrdiff-backup --remove-older-than 30D /backupRemove backups older than 30 days from /backup

Advanced Options #

Command/OptionExampleDescription
rdiff-backup --exclude-file-globbing-file=file.txt src destrdiff-backup --exclude-file-globbing-file=exclude.txt /home/user /backupExclude files listed in exclude.txt from backup
rdiff-backup --check-destination-dir src destrdiff-backup --check-destination-dir /home/user /backupCheck that the destination directory is valid
rdiff-backup --print-statistics src destrdiff-backup --print-statistics /home/user /backupPrint statistics about the backup operation

This cheatsheet covers essential GNU rdiff-backup options for performing and managing incremental backups.

rdiff-backup

Explore our comprehensive cheatsheets to enhance your knowledge and efficiency. Each cheatsheet provides detailed command options, examples, and descriptions to help you master various tools and technologies.