Network backup
-
@johnhooks said:
@DustinB3403 said:
I prefer SSH to backup.
What are you looking to backup?
From our server to our synology. Shop files, cad drawings, documents. Only about 200 gigs worth of stuff.
I'm going to use rsnapshot, just didn't know if it was better over SSH or NFS. Thanks!
RSnapShot is Rsync. That's very different than just SSH vs. NFS. Use SSH as it is natively part of the Rsync connection process. Both will work and it is a good question to ask, but SSH works really well in that instance.
-
@Dashrender said:
This touches a bit on the crytpoware talk we were having yesterday.
Apparently there is newish ransomware that will find network shares that it has write permissions to and hit them up as well.
I guess in that case SSH would be best. And creating a dedicated backup user who is the only user who has write access to the volume would be another layer of protection.
In theory SSH could be hit in a similar fashion, but it is definitely far less likely and would be much slower for something to leverage that.
-
Sure it could, hopefully if you're SSH instead of NFS you're using a dedicated account for the SSH, not the same as the user itself.
-
@StrongBad said:
@johnhooks said:
@DustinB3403 said:
I prefer SSH to backup.
What are you looking to backup?
From our server to our synology. Shop files, cad drawings, documents. Only about 200 gigs worth of stuff.
I'm going to use rsnapshot, just didn't know if it was better over SSH or NFS. Thanks!
RSnapShot is Rsync. That's very different than just SSH vs. NFS. Use SSH as it is natively part of the Rsync connection process. Both will work and it is a good question to ask, but SSH works really well in that instance.
Ya sorry, I forgot to mention rsnapshot over ssh or nfs. I apologize.
-
@Dashrender said:
Sure it could, hopefully if you're SSH instead of NFS you're using a dedicated account for the SSH, not the same as the user itself.
But you have to store the key or password somewhere which poses a risk if the system is compromised.
-
@StrongBad said:
@Dashrender said:
Sure it could, hopefully if you're SSH instead of NFS you're using a dedicated account for the SSH, not the same as the user itself.
But you have to store the key or password somewhere which poses a risk if the system is compromised.
True, but hopefully you aren't just surfing around on your backup server, so it's chances of being compromised is low.
-
@Dashrender said:
True, but hopefully you aren't just surfing around on your backup server, so it's chances of being compromised is low.
Assuming he is doing backups from a backup server. Using RSnapShot suggests that he is backing up from the server in question directly.
-
Is remote backup something that is even an option in Linux? it probably is, but I have to ask.
And I'm not talking about just a file level backup, I'm talking system level or block level.Oh and I'm referring to a free tool - I know Unitrends can do this (is there an agent involved for Linux?)
-
@Dashrender said:
Is remote backup something that is even an option in Linux? it probably is, but I have to ask.
And I'm not talking about just a file level backup, I'm talking system level or block level.Oh and I'm referring to a free tool - I know Unitrends can do this (is there an agent involved for Linux?)
What do you mean by remote backups? You just take a snapshot and send it wherever you want. Is that what you mean? If so, every one else's ability to do this is pretty much based on Linux from long ago.
-
If I understand what you are asking... you just take a normal system image on Linux. And use Rsync or whatever tool you want to place it remotely.
Unitrends cannot do this for Linux, only VMware, HyperV and XenServer guests. StorageCraft can do this with an agent. But it is a normal feature of Linux.
-
@Dashrender said:
And I'm not talking about just a file level backup, I'm talking system level or block level.
LVM Snaps, RSnapShot, ZFS... lots of options on Linux.
-
My question is more about how to you backup a bare metal Linux install while not using a SSH/NFS mount point.
-
@Dashrender said:
My question is more about how to you backup a bare metal Linux install while not using a SSH/NFS mount point.
Is that really your question? That sounds like a proximate question. What is the goal question?
My guess is you want to decouple storage and wondering how to do that.
-
@scottalanmiller said:
@Dashrender said:
My question is more about how to you backup a bare metal Linux install while not using a SSH/NFS mount point.
Is that really your question? That sounds like a proximate question. What is the goal question?
My guess is you want to decouple storage and wondering how to do that.
Yes decoupled storage.
-
@Dashrender said:
Yes decoupled storage.
No system, including Windows, Unitrends, etc. can do this from the system. Pushing backups out whether from the OS or from an agent means that the source system controls access to the resulting storage. It is only a remote system, like the Unitrends server, that can take the resulting storage and make it inaccessible to the clients that allows decoupling. You must have remote logic and control to decouple. It's impossible for Windows, Linux, Mac, etc. to have decoupled storage directly because their ability to control the storage that they use is what makes it coupled.
-
Right, I was assuming exactly that. So, is there an open source/free solution that allows this for Linux?
On the Windows side we have the free version of Unitrends and Veeam for VMs, but I'm not sure of one for bare metal.
-
@Dashrender said:
Right, I was assuming exactly that. So, is there an open source/free solution that allows this for Linux?
You can do it with just a script. It just requires doing the work from a remote machine and decoupling the accounts and access.
-
@Dashrender said:
On the Windows side we have the free version of Unitrends and Veeam for VMs, but I'm not sure of one for bare metal.
Those can become coupled if you share accounts. So it is not a panacea.