-
Notifications
You must be signed in to change notification settings - Fork 14
Backup & restore
Supports application configuration-only backup and restore via the 'backup' and 'restore' arguments. This can be scripted via cron to create a regular backup of each app.
QPKG (configuration-only) backups will be stored in a new hidden directory located under your default userdata volume called [.qpkg_config_backup/]. Hopefully, QNAP won't mess with this location (I'm looking at you Malware Remover).
To jump to this path:
cd $(getcfg SHARE_DEF defVolMP -f /etc/config/def_share.info)/.qpkg_config_backup
Each QPKG has a single [config.tar.gz] file to backup into. Each new backup replaces the old one (so, no versioning available).
Example: to backup the SABnzbd application configuration files, you can use sherpa:
sherpa backup sab
... or use the SABnzbd service script:
/etc/init.d/sabnzbd.sh backup
Example: to restore the SABnzbd application configuration:
/etc/init.d/sabnzbd.sh restore
original content here is (C)opyright 2017-2024 OneCDOnly one.cd.only@gmail.com