#1 2020-03-04 08:33:05

AndersG
Member
Registered: 2020-01-16
Posts: 25

Doing a OneDiff backup - Can I still create a manual snapshot?

Hi!

We run XSIBackup nightly to create OneDiff copies of VMs to a separate disk:

/vmfs/volumes/datastore1/xsi-dir/xsibackup --backup-prog=Onediff --backup-point=/vmfs/volumes/Storage2TB/backup --backup-type=custom --backup-vms="nod1"

The backup creates a snapshot named "xsibackupdiff"

Question is: I want to install updates to one VM, but would like to do a snapshot beforhand. This snapshot will be created after "xsibackupdiff", right? Will this interfere with the onediff snapshot?

Anything else I need to think of? I just like to have a snapshot in case the install of updates causes problems.

Offline

#2 2020-03-04 10:34:35

admin
Administrator
Registered: 2017-04-21
Posts: 1,367

Re: Doing a OneDiff backup - Can I still create a manual snapshot?

Onediff will force the VM to have just its own snapshot, thus trying to keep a custom snapshot will fail, as it will be deleted on the first Onediff cycle (the first full copy). To keep that snapshot and still backup your VM you could use --backup-prog=Xsitools or --backup-prog=Xsitools, but that would perform a full copy everytime.

You can also use (c)XSIBackup-DC which will always preserve any pre-existing snapshot with any kind of operation, you may contact us to size whether that change would benefit your current backup set up.

Offline

#3 2020-03-04 11:06:34

AndersG
Member
Registered: 2020-01-16
Posts: 25

Re: Doing a OneDiff backup - Can I still create a manual snapshot?

OK. Note that I will need this extra snapshot just for a while, until I have verified that the patch install went OK.

Naturally would one option be to change the backups to use XSItools, create the snapshot, do the upgrade and then change back when I have verified that all is OK.

Offline

#4 2020-03-05 16:36:51

admin
Administrator
Registered: 2017-04-21
Posts: 1,367

Re: Doing a OneDiff backup - Can I still create a manual snapshot?

Yes, you could do that.

Offline

#5 2020-03-07 09:08:13

AndersG
Member
Registered: 2020-01-16
Posts: 25

Re: Doing a OneDiff backup - Can I still create a manual snapshot?

OK. When I do so, it does not remove the "xsibackupdiff 1" snapshot. Is that to be expected? Should I leave it there or remove all snapshots before I turn back to OneDiff after the upgrade?

Offline

#6 2020-03-07 09:10:51

AndersG
Member
Registered: 2020-01-16
Posts: 25

Re: Doing a OneDiff backup - Can I still create a manual snapshot?

Also, with XSitools it now creates a full backup in a new folder, named "20200306200006" for every new backup.

Offline

#7 2020-03-08 09:57:58

AndersG
Member
Registered: 2020-01-16
Posts: 25

Re: Doing a OneDiff backup - Can I still create a manual snapshot?

Hmm.. Still trying to figure out how XSIBackup uses snapshots.. Am I right in assuming that if I leave out "backup-prog" entirely, then it uses the built in VMWare tools? I was under the impression that it would strip all snapshots when doing so? It does not appear to do that now though? Ie in the log:
2020-03-07T21:27:27|  Removing snapshots, please wait...
But when I check the VM, snapshots are still there?

Anyway. Server is upgraded now so I can delete that snapshot. Should I also delete the snapshot OneDiff created, before changing my backup-prog back from none to OneDiff?

Offline

#8 2020-03-08 12:45:15

admin
Administrator
Registered: 2017-04-21
Posts: 1,367

Re: Doing a OneDiff backup - Can I still create a manual snapshot?

AndersG wrote:

OK. When I do so, it does not remove the "xsibackupdiff 1" snapshot. Is that to be expected? Should I leave it there or remove all snapshots before I turn back to OneDiff after the upgrade?

It does not remove ANY snapshot. If you have some previous "xsibackupdiff" snapshots that you don't want, remove them.

Offline

#9 2020-03-08 12:46:27

admin
Administrator
Registered: 2017-04-21
Posts: 1,367

Re: Doing a OneDiff backup - Can I still create a manual snapshot?

AndersG wrote:

Also, with XSitools it now creates a full backup in a new folder, named "20200306200006" for every new backup.

XSITools is a block deduplication engine:

https://33hops.com/block-level-data-deduplication.html

Offline

Board footer