How do I back up to a local folder or NFS share?
Add a Local / NFS destination with an absolute path on the server. The default folder is /var/lib/backupwall/backups. A local destination on the same disk is fine for a first run but is not a backup you can rely on.
Add the destination
- Open Destinations and choose + Add destination, then Local / NFS.
- Enter a Display name and the Absolute path, for example
/var/lib/backupwall/backups(this folder exists after install) or a mounted share such as/mnt/backups. - Choose Add destination, then Test.
Things to know
- Same disk is not a backup. If the folder is on the server's own disk, a disk failure loses both. Add a remote destination before you rely on it.
- The folder is written by the backup service, which runs as root. Test also warns you if the console cannot read the folder, because then you could not browse its backups.
- A local destination does not use pack files; objects are stored loose unless the destination's packing is switched on. An NFS share is just a path: mount it on the server first, and BackupWall treats it like any local folder.
- The backup upload cap in Settings → Performance never applies to a local destination. The disk priority and the load pause govern its writes.
- There is no free-space check for local backups. A full disk makes writes fail.
uninstall.shkeeps backup data stored under BackupWall's own folders, such as/var/lib/backupwall/backups, unless you use--purge-data.- To read a local destination without BackupWall, use
bw-extract --local /path. See Get your files out without BackupWall. - Local and NFS is tested by PortWall.
Still stuck? Open a ticket at portwall.net/billing or write to [email protected], and attach a support bundle. See Report a problem and make a support bundle.