Periodic Snapshots and Replication Tasks to same system - possible?

Status
Not open for further replies.

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Hi all,

I'd like to automatically create snapshots of my VM disk images (on an SSD without redundancy) - that's the easy part according to the documentation.
And then send them to my RAIDZ2 zpool on the same FreeNAS as a first backup. It is not quite clear from the docs if the source and destination of a replication task must be different systems or not.

Thanks,
Patrick
 
Last edited by a moderator:

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Well, I went and just tried to set up a replication to locahost. Setup went fine. I'll report tomorrow if the replication worked.

Patrick
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338
It is not quite clear from the docs if the source and destination of a repliaction task must be different systems or not.

This question and related ones have been asked several times on this forum. Local replication works, I'm also doing that successfully for around three years.
https://www.google.de/search?q=site:forums.freenas.org+replication+localhost+127.0.0.1

Not sure if the manual has to be improved in this regard, but maybe this would help to reduce the number of questions in the future.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Yes, works as designed:
Code:
zfs/vmbackup										  80.8G  5.13T   128K  /mnt/mnt/vm
zfs/vmbackup@auto-20180205.0130-1w					81.4K	  -   128K  -
zfs/vmbackup/cloud									2.58G  5.13T  2.58G  -
zfs/vmbackup/cloud@auto-20180205.0130-1w				  0	  -  2.58G  -
zfs/vmbackup/dhcp									 1.22G  5.13T  1.22G  -
zfs/vmbackup/dhcp@auto-20180205.0130-1w				   0	  -  1.22G  -
zfs/vmbackup/project								  1.19G  5.13T  1.19G  -
zfs/vmbackup/project@auto-20180205.0130-1w				0	  -  1.19G  -
zfs/vmbackup/vm										128K  5.13T   128K  /mnt/mnt/vm/vm
zfs/vmbackup/wiki									 35.5G  5.13T  35.5G  -
zfs/vmbackup/wiki@auto-20180205.0130-1w				   0	  -  35.5G  -
zfs/vmbackup/windows								  40.3G  5.13T  40.3G  -
zfs/vmbackup/windows@auto-20180205.0130-1w				0	  -  40.3G  -


Kind regards,
Patrick
 

scrappy

Patron
Joined
Mar 16, 2017
Messages
347
I have been meaning to do this on my system. Good to know it works for you.
 
Status
Not open for further replies.
Top