You are not logged in.
Pages: 1
No matter what I define on the --del-dirs option, it never deletes something
./xsibackup --del-dirs=+1d --backup-point=/vmfs/volumes/vSphere_Backups/XSI --backup-type=custom --backup-vms="TestW2k3" --backup-prog=xsitools:z
I always get: info: no directories to delete as per the --del-dirs argument
Backing up via XSITools
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
File name: TestW2k3-flat.vmdk, File size: 4294967296
Block size: 52428800, Block count: 82
Disk usage: 4294967296
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
82/82 blocks | Processed 101%
Previous block count: 78838
Current block count: 78838
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Time taken: 22 seconds
Avg speed: 186 mb/s
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[TestW2k3] info: no directories to delete as per the --del-dirs argument
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The ESXi configuration was saved to "/vmfs/volumes/vSphere_Backups/XSI/20190330011240"
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
No errors detected in backup
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Backup finished
Tip: no chained backups scheduled, set --on-success and/or --on-error arguments to chain a backup
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Killed
But there are olders to delete:
[root@ESX01:/vmfs/volumes/2542dc62-3824324c/xsi-dir] find /vmfs/volumes/vSphere_Backups/XSI/20* -type d -name "TestW2k3"
/vmfs/volumes/vSphere_Backups/XSI/20190319135506/TestW2k3
/vmfs/volumes/vSphere_Backups/XSI/20190319145209/TestW2k3
/vmfs/volumes/vSphere_Backups/XSI/20190319153811/TestW2k3
/vmfs/volumes/vSphere_Backups/XSI/20190319162314/TestW2k3
/vmfs/volumes/vSphere_Backups/XSI/20190319200006/TestW2k3
/vmfs/volumes/vSphere_Backups/XSI/20190320200006/TestW2k3
/vmfs/volumes/vSphere_Backups/XSI/20190321200006/TestW2k3
/vmfs/volumes/vSphere_Backups/XSI/20190322200006/TestW2k3
/vmfs/volumes/vSphere_Backups/XSI/20190323003352/TestW2k3
/vmfs/volumes/vSphere_Backups/XSI/20190330001834/TestW2k3
/vmfs/volumes/vSphere_Backups/XSI/20190330002911/TestW2k3
/vmfs/volumes/vSphere_Backups/XSI/20190330005724/TestW2k3
/vmfs/volumes/vSphere_Backups/XSI/20190330010257/TestW2k3
/vmfs/volumes/vSphere_Backups/XSI/20190330011058/TestW2k3
/vmfs/volumes/vSphere_Backups/XSI/20190330011240/TestW2k3
Also the datedirmask=20[1-3][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]
is still original
Where is my fault?
Offline
You are using [b][https://33hops.com/xsitools-vmfs-deduplication.html](c)XSITools[/url][/b] as the backup program. Use [b][https://33hops.com/xsibackup-help-man-page.html#prunexsitoolsrepo]--prune-xsitoolsrepo[/url][/b] instead of [b]--del-dirs[/b]. [b][https://33hops.com/xsitools-vmfs-deduplication.html](c)XSITools[/url][/b] does not generate backup folders as such, those folders only contain the hash-maps of your virtual disks.
[b][https://33hops.com/xsitools-vmfs-deduplication.html](c)XSITools[/url][/b] stores backups in deduplicated repositories, you may use [b][https://33hops.com/xsibackup-help-man-page.html#prunexsitoolsrepo]--prune-xsitoolsrepo[/url][/b] to delete individual backups manually, or the [b][https://33hops.com/xsibackup-help-man-page.html#backuproom]--backup-room[/url][/b] argument to let [b][https://33hops.com/xsitools-vmfs-deduplication.html](c)XSITools[/url][/b] manage the amount of space it uses.
Offline
Does that mean with XSITools I cannot automatically clean up the repository distinguish by dates and VM?
i.e keeping the last 7 days of backups and related blocks of VM-One.
and keeping the last 30 days of backups and related blocks of VM-Two.
Do I need to make a repo per VM to solve that?
--prune-xsitoolsrepo ; This is a standalone option, not a part of a backup job, right? Since it cannot be used as a part of the backup job, it would not help.
--backup-room ; This does always checks and prune against the whole repo no matter which VMs the backup job includes, right?
So a backup of a VM can be deleted even it is the last one that exists of it?
Also I cannot run --backup-room option as a standalone, it must be combined with some (and successful) backup of a VM..., or not?
Confused ...
Offline
Pages: 1