Skip to content

Commit

Permalink
SW-4263 temporary removal of cam folder from backup and restore (#116)
Browse files Browse the repository at this point in the history
* exclude cam folder from backup and restore
  • Loading branch information
amrithvenkat authored Jan 9, 2024
1 parent 6060452 commit 04b15fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/beamos/filesystem/migration/usr/bin/migration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ USB_MOUNT_PATH="/mnt/usb"

# list of files treated by preserve-data and restore-data
DATA_TO_PRESERVE=(
"/home/pi/.octoprint/cam" # is a folder
# "/home/pi/.octoprint/cam" # is a folder
"/home/pi/.octoprint/analytics/usage.yaml"
"/home/pi/.octoprint/users.yaml"
"/home/pi/.octoprint/users-dev.yaml"
Expand All @@ -505,7 +505,7 @@ DATA_TO_PRESERVE=(
)

DATA_TO_RESTORE=(
".octoprint/cam" # is a folder
# ".octoprint/cam" # is a folder
".octoprint/analytics/usage.yaml"
".octoprint/users.yaml"
".octoprint/users-dev.yaml"
Expand Down

0 comments on commit 04b15fd

Please sign in to comment.