Appearance
Backup and restore
A backup is an encrypted file of the node's state. Restore puts it back onto a fresh data directory before Spalto starts there.
waap backup
Writes an encrypted backup of the running node.
sh
waap backup -o FILE [-events]The backup holds the configuration history, accounts and token hashes, bans, IP lists, the audit log, stored files and the management certificate. -events adds the security events.
The command asks for a passphrase: twice on a terminal, or one line from standard input.
waap restore
Restores a backup onto a fresh data directory. Run it before Spalto is started there.
sh
waap restore -i FILE [-data-dir DIR] [-node-id ID] [-overwrite-files]-overwrite-filesreplaces existing certificate and key files that differ from the backup's. Without it, those files are left alone and reported.- Format 1 configuration backups restore unchanged. The next startup creates one audited system migration version on the active or standalone node.