Forget backups
This commit is contained in:
parent
74e5eef3fd
commit
e96f2aea05
|
@ -2469,7 +2469,8 @@ function backup_directory_to_usb {
|
|||
echo -n "}' | awk -F '/' '{print " >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||
echo -n '$2' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||
echo "}')" >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||
echo " obnam forget --keep=${BACKUP_MAX_DAYS}d -r $USB_MOUNT/backup/${2} --encrypt-with $MY_BACKUP_KEY_ID ${1}" >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||
echo -n " obnam forget --keep=${BACKUP_MAX_DAYS}d " >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||
echo '-r $USB_MOUNT/backup/${2} --encrypt-with $MY_BACKUP_KEY_ID ${1}' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||
echo ' obnam backup -r $USB_MOUNT/backup/${2} --encrypt-with $MY_BACKUP_KEY_ID ${1}' >> /usr/bin/$BACKUP_SCRIPT_NAME
|
||||
else
|
||||
# For rsyncrypto usage see http://archive09.linux.com/feature/125322
|
||||
|
|
Loading…
Reference in New Issue