User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:using_btrbk_to_backup_my_home_partition [2017/07/10 17:37]
fangfufu [Btrbk configuration]
public:using_btrbk_to_backup_my_home_partition [2017/08/05 23:45]
fangfufu [Generating snapshots]
Line 34: Line 34:
         snapshot_preserve       24h 7d 4w         snapshot_preserve       24h 7d 4w
         snapshot_preserve_min   latest         snapshot_preserve_min   latest
 +        target_preserve         24h 30d
 +        target_preserve_min     latest
         snapshot_dir snapshots         snapshot_dir snapshots
         subvolume home         subvolume home
 +                target send-receive /mnt/storage/home-backups
 volume ssh:// volume ssh://
         ssh_identity /root/.ssh/id_rsa         ssh_identity /root/.ssh/id_rsa
         target_preserve         180d         target_preserve         180d
-        target_preserve         latest+        target_preserve_min     latest
         snapshot_create         no         snapshot_create         no
         snapshot_dir snapshots         snapshot_dir snapshots
Line 57: Line 60:
 <code> <code>
 #!/bin/sh #!/bin/sh
-exec /usr/sbin/btrbk -q run  > /dev/null 2>&1+echo > /var/log/btrbk.log 
 +/usr/sbin/btrbk -q run > /dev/null 2>&1
 return 0 return 0
 #returning 0 to suppress cron warning emails.   #returning 0 to suppress cron warning emails.  
public/using_btrbk_to_backup_my_home_partition.txt · Last modified: 2018/03/31 01:38 (external edit)