[Users] openvz-diff-backups - delte backup

tranxene50 tranxene50 at openvz-diff-backups.fr
Fri Dec 4 16:41:45 MSK 2020


Hello!

In config file, default value

#DELETE_SKIP_HOSTS="others"

tells OVZDB to not delete backups from other hosts.

Uncoment this line and set it to :

DELETE_SKIP_HOSTS=""

Have a great day!

Le 04/12/2020 à 14:28, mailinglist at tikklik.nl a écrit :
> Hello,
>
> The setup:
>
> 1. live server
> 2. backup server
> 3 remote server
>
> On 1 and 3 openvz-diff-backups are installed.
> 1 is backing up to 2
> 3 is pulling a backup from 2
> That works great
>
> But on 3 im running the command:
> /usr/local/sbin/openvz-diff-backups delete 62 20-
>
> Then im getting as output:
> [2020-12-04 14:25:30] [    62]  Info      + # --- openvz-diff-backups 1.0.1.10 (stable) (2019-08-31)
> ------------------------------
> Task: delete 62 20- (backup_ctid: 62 - min_date: 2019-11-15_14-25-30 - max_date: 2020-11-14_14-25-30)
> Host: xxxx
> Ctid: 62
> Name: unknown
> Date: 2020-12-04 14:25:30
> ------------------------------
> Delete   - ctid:    62 - ignored   - 2020-12-04 14:25:30 - master storage - no backup to delete
> [2020-12-04 14:25:30] [    62]  Info      + # --- Exit status: success
> *Success:          0s* -    1 ctid - 2020-12-04 14:25:30 - delete 62 20-
>
>
> So nothing is getting deleted.
>
> But there are backups that needs tob e deleted:
> ls -sl  /home/backup/62/diff/
> total 36
> 4 dr-xr-xr-x 20 root root 4096 Sep  9 20:03 diff_62_2020-09-16_00-11-33
> 4 dr-xr-xr-x 20 root root 4096 Sep  9 20:03 diff_62_2020-09-20_00-06-30
> 4 dr-xr-xr-x 20 root root 4096 Sep 22 17:31 diff_62_2020-09-27_12-04-54
> 4 dr-xr-xr-x 20 root root 4096 Sep 22 17:31 diff_62_2020-10-25_12-06-13
> 4 dr-xr-xr-x 20 root root 4096 Sep 22 17:31 diff_62_2020-11-01_12-05-33
> 4 dr-xr-xr-x 20 root root 4096 Sep 22 17:31 diff_62_2020-11-08_12-07-57
> 4 dr-xr-xr-x 20 root root 4096 Sep 22 17:31 diff_62_2020-11-15_12-05-34
> 4 dr-xr-xr-x 20 root root 4096 Sep 22 17:31 diff_62_2020-11-22_12-05-40
> 4 dr-xr-xr-x 20 root root 4096 Sep 22 17:31 diff_62_2020-11-29_12-08-17
>
>
> task_62_2020-09-20_00-06-30.txt
> backup|success|live_plop|node1.xxxxxx.com|7c14463fae566179a6c0cfb76acc678b|2020-09-27_00-06-30
> Any idee what to change to get it deleted?
>
> Steffan
>
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://lists.openvz.org/mailman/listinfo/users

-- 
tranxene50
tranxene50 at openvz-diff-backups.fr



More information about the Users mailing list