User Tools

Site Tools


public:using_btrbk_to_backup_my_home_partition

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:using_btrbk_to_backup_my_home_partition [2017/07/10 16:37] – [Btrbk configuration] fangfufupublic:using_btrbk_to_backup_my_home_partition [2018/03/31 00:38] (current) – external edit 127.0.0.1
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://127.0.0.1/mnt/home volume ssh://127.0.0.1/mnt/home
         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.1499704624.txt.gz · Last modified: 2018/03/31 00:38 (external edit)