Backup FreeNAS on off-site old laptop just in case.

elorimer

Contributor
Joined
Aug 26, 2019
Messages
194
So you have 2.5TB of data on Seby pool. That's too much to fit on the other pool, but all of the Movies could be backed up to the Seby pool without much issue. All the data on the Seby pool is in a single dataset, presumably with folders under it. All of the replication processes are by dataset. You might be able to create two datasets, one of which fits on the Movies pool and the other backed up some other way. We don't know what's in that Seby pool, and I can't tell from the screenshot how the drives in the Seby pool are arranged (mirros, z2, etc.).

Before you worry about nightly backups to an offsite laptop, you should figure out how you have a backup onsite in the first place, I think. Later you can take that backup offsite and then only update it periodically.
 

seby20

Dabbler
Joined
Jun 26, 2020
Messages
12
So you have 2.5TB of data on Seby pool. That's too much to fit on the other pool, but all of the Movies could be backed up to the Seby pool without much issue. All the data on the Seby pool is in a single dataset, presumably with folders under it. All of the replication processes are by dataset. You might be able to create two datasets, one of which fits on the Movies pool and the other backed up some other way. We don't know what's in that Seby pool, and I can't tell from the screenshot how the drives in the Seby pool are arranged (mirros, z2, etc.).

Before you worry about nightly backups to an offsite laptop, you should figure out how you have a backup onsite in the first place, I think. Later you can take that backup offsite and then only update it periodically.
Ok, lets say I want to backup Seby only offsite. How to do that?
tks
Seby
 

elorimer

Contributor
Joined
Aug 26, 2019
Messages
194
Assuming here you do have a backup of your data. If not, stop here until you do.

The sophisticated, FreeNAS way:
1. Install Freenas on that laptop, assuming you can. If you can't, stop. (Note: this will wash away any operating system and data on that laptop.)
2. Set up snapshots of your datasets if you haven't already.
3. Plug the USB drive into your main FreeNAS server. Create an encrypted pool with the USB drive, and add two datasets to it, one being Movies and the other Seby. Make sure you have copied the encryption key.
4. Set up replications (these will be local replications) of your Movies data set and your Seby dataset to the corresponding datasets on the USB pool.
5. Run the replication once. That will take several hours. [If you want, you can do the replication over your network, and that might take several days. Or, if you want, you can do the replication over the internet to the remote location and that will take a week or more. Your choice.]
6. Export the pool, taking care not to check the box about deleting your data.
7. Unplug the USB drive from the main FreeNAS server and plug it into the laptop. Import the USB pool into that server. You will need the encryption key.
8. Now edit the existing replications to change them from a local replication to a remote replication That requires creating a common key that will connect them via SSL over port 22. Run that replication to be sure it works.
9. Convince your friend to let you plug your laptop into his network. If he does, have him committed to a mental institution. There are no circumstances in which he should allow that. Among other things, this is opening a vector to compromise his network, and opening his network to you.
10. If nonetheless he does, he needs a static internet address or a ddns address, so you can access his network from the internet. Then his local router needs to assign your laptop a reserved IP address, and then the router needs to forward port 22 to that internal IP address.
11. Now go back to your main FreeNAS router, and edit the exiting replication to change the IP address of the target to that ddns address.
12. Run it to see if it works. Note that from time to time, like when you have added a movie, you will saturate your upload bandwidth and may do the same to his download bandwidth while the sync is going on.

I'm in the process of doing this, but in my case the remote location is my office, to which I alone have access (at least, I hope to have access to it soon).

The non-FreeNAS way:

1. Set up Samba shares of the two datasets. Attach the USB drive to your laptop and just copy the data over.
2. Take the laptop and the drive and leave it in the closet at your friends house.
3. Periodically, rinse and repeat.
 

subhuman

Contributor
Joined
Nov 21, 2019
Messages
121
elorimer said:
I'm in the process of doing this, but in my case the remote location is my office, to which I alone have access
....or, so we hope.... :)
 
Top