Compare commits
No commits in common. "88f6ce782092a273398d0dfeb6cf93c62aff9bf7" and "f2dc3f27d98e5c8992e3c503b3d7fd18611b66da" have entirely different histories.
88f6ce7820
...
f2dc3f27d9
@ -54,9 +54,6 @@ cliHandleBackupCommands()
|
|||||||
all)
|
all)
|
||||||
backupAllApps
|
backupAllApps
|
||||||
;;
|
;;
|
||||||
system)
|
|
||||||
backupSystemConfig
|
|
||||||
;;
|
|
||||||
scheduled)
|
scheduled)
|
||||||
backupScheduleEnabledApps
|
backupScheduleEnabledApps
|
||||||
;;
|
;;
|
||||||
|
|||||||
@ -19,11 +19,7 @@ cliShowBackupHelp()
|
|||||||
echo " Delete every backup for an app (skips append-only locations)."
|
echo " Delete every backup for an app (skips append-only locations)."
|
||||||
echo ""
|
echo ""
|
||||||
echo "backup all"
|
echo "backup all"
|
||||||
echo " Snapshot every installed app (also runs 'backup system')."
|
echo " Snapshot every installed app."
|
||||||
echo ""
|
|
||||||
echo "backup system"
|
|
||||||
echo " Snapshot the system config (settings, WebUI creds, backup-location"
|
|
||||||
echo " creds) to all enabled locations — needed for a self-sufficient restore."
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "backup scheduled"
|
echo "backup scheduled"
|
||||||
echo " Queue a backup for every app with backups enabled (daily cron entry)."
|
echo " Queue a backup for every app with backups enabled (daily cron entry)."
|
||||||
|
|||||||
@ -36,11 +36,6 @@ cliHandleRestoreCommands()
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
system)
|
|
||||||
# Restore the latest system-config snapshot (settings + creds) into a
|
|
||||||
# staging dir; never overwrites live config. Optional location idx.
|
|
||||||
backupRestoreSystemConfig "$action"
|
|
||||||
;;
|
|
||||||
migrate)
|
migrate)
|
||||||
case "$action" in
|
case "$action" in
|
||||||
app)
|
app)
|
||||||
|
|||||||
@ -9,10 +9,6 @@ cliShowRestoreHelp()
|
|||||||
echo "restore app list <app_name>"
|
echo "restore app list <app_name>"
|
||||||
echo " List available backups for an app across all enabled locations."
|
echo " List available backups for an app across all enabled locations."
|
||||||
echo ""
|
echo ""
|
||||||
echo "restore system [loc_idx]"
|
|
||||||
echo " Restore the latest system-config snapshot into a staging dir"
|
|
||||||
echo " (review-then-copy; never overwrites live config). Default: first location."
|
|
||||||
echo ""
|
|
||||||
echo "restore migrate app <app_name> <source_host> [loc_idx]"
|
echo "restore migrate app <app_name> <source_host> [loc_idx]"
|
||||||
echo " Restore one app's backup taken on another host (cross-host migrate)."
|
echo " Restore one app's backup taken on another host (cross-host migrate)."
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user