Backup entire server
Going to begin archiving all my 3D printing projects on my Repetierserver.
What is the best method for backing up the entire server?
I would like to either in order of preference:
1. Backup the entire server as a disk image to another location on the LAN without shutting down the server or;
2. Backup the files and settings into a single file to another location on the LAN that can be restored to a fresh installation of Repetier server.
This would ideally be done by SSH or through a script I can execute from within Repetier server.
Obviously I could shutdown the server and remove the SD card for cloning but I'd rather not have to go to this trouble to ensure backups are performed regularly due to ease of being able to do so.
What is the best method for backing up the entire server?
I would like to either in order of preference:
1. Backup the entire server as a disk image to another location on the LAN without shutting down the server or;
2. Backup the files and settings into a single file to another location on the LAN that can be restored to a fresh installation of Repetier server.
This would ideally be done by SSH or through a script I can execute from within Repetier server.
Obviously I could shutdown the server and remove the SD card for cloning but I'd rather not have to go to this trouble to ensure backups are performed regularly due to ease of being able to do so.
Comments
sudo service RepetierServer stop
and copy all files or make a tar file from it if you have enough space to store the file and copy the tar file instead.
If you have made more modifications then just in the ui like adding extra drivers a full image is also an option. But with the data backup you can at least reinstall all server related settings and data.
I want to setup a new server with an RPi3 and want to copy all files and folder structure from the old one to the new one.
Thanks in advance for your help.
sudo chown -R pi /var/lib/Repetier-Server
after stopping server should give you permission to copy data back.