Skip to content

Commit

Permalink
Fixed backup to include environments-enabled instead of .env
Browse files Browse the repository at this point in the history
  • Loading branch information
salverius-tech committed Apr 7, 2024
1 parent d0fc88f commit 7a2857a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make.d/backup.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#########################################################

create-backup: backups ## create a backup of the onramp config
sudo tar --exclude=.keep --exclude=etc/plex/Library -czf ./backups/onramp-config-backup-$(HOST_NAME)-$(shell date +'%y-%m-%d-%H%M').tar.gz ./etc ./services-enabled ./overrides-enabled .env || true
sudo tar --exclude=.keep --exclude=etc/plex/Library -czf ./backups/onramp-config-backup-$(HOST_NAME)-$(shell date +'%y-%m-%d-%H%M').tar.gz ./etc ./services-enabled ./overrides-enabled ./environments-enabled || true

create-nfs-backup: create-backup ## create a backup of the onramp config and copy it to the nfs server
sudo mount -t nfs $(NFS_SERVER):$(NFS_BACKUP_PATH) $(NFS_BACKUP_TMP_DIR)
Expand Down

0 comments on commit 7a2857a

Please sign in to comment.