Differences
This shows you the differences between two versions of the page.
|
|
blocks:server:backup [2022-02-18 09:31] admin created |
blocks:server:backup [2025-07-14 17:00] (current) admin Added restore note |
Remote backups can be made in a number of ways, such as accessing their Blocks root folder over SMB file sharing and just copying the folder, or using //rsync// remotely (over a VPN or Anydesk TCP tunnel). Such a solution can be based on the //snapshot.sh// script discussed above, but changing the file source to include the user name and remote server IP address. Or use dedicated backup software that includes support for backing up remote computers over the network. | Remote backups can be made in a number of ways, such as accessing their Blocks root folder over SMB file sharing and just copying the folder, or using //rsync// remotely (over a VPN or Anydesk TCP tunnel). Such a solution can be based on the //snapshot.sh// script discussed above, but changing the file source to include the user name and remote server IP address. Or use dedicated backup software that includes support for backing up remote computers over the network. |
| |
| ====Restoring a Backup==== |
| It's OK to copy files //from// the server while Blocks is running. However, if you ever need to copy files //back// to your Blocks server (e.g., to restore files from your backup), you should shut down Blocks server program before doing so. |
====Using Local Snapshots==== | ====Using Local Snapshots==== |
Another, somewhat related, method is the script-based "snapshot" feature already built into our Linux server image. While not really a viable backup-strategy, this feature simply takes a snapshot of the current state of your Blocks root folder. Those snapshots, marked with date and time, are stored in the "Blocks-root-snapshots" folder. To take such a snapshot, log in as the pixi-server user, and run this command in a terminal window from your home directory (i.e., /home/pixi-server/): | Another, somewhat related, method is the script-based "snapshot" feature already built into our Linux server image. While not really a viable backup-strategy, this feature simply takes a snapshot of the current state of your Blocks root folder. Those snapshots, marked with date and time, are stored in the "Blocks-root-snapshots" folder. To take such a snapshot, log in as the pixi-server user, and run this command in a terminal window from your home directory (i.e., /home/pixi-server/): |