From 6238e837d364ece2af3ac5848608330c1e2a8e51 Mon Sep 17 00:00:00 2001 From: salverius-tech Date: Tue, 9 Apr 2024 16:35:45 -0700 Subject: [PATCH] Added media/databases to backup command --- make.d/backup.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.d/backup.mk b/make.d/backup.mk index 99766a9b..9108e40f 100644 --- a/make.d/backup.mk +++ b/make.d/backup.mk @@ -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 ./environments-enabled || 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 ./media/databases || 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)