How to manually rsnapshot given folders? #1

Open
opened 2024-02-28 17:58:04 +01:00 by Benjamin_Loison · 0 comments

To reduce backup size of the following gitea update command:

VERSION=1.21.7 && cd /usr/local/bin/ && wget https://github.com/go-gitea/gitea/releases/download/v$VERSION/gitea-$VERSION-linux-amd64 -O newgitea && chmod +x newgitea && mv newgitea gitea && killall gitea; zip -r /var/backups/gitea-$VERSION.zip /etc/gitea/ /var/lib/gitea/ /var/lib/mysql/gitea/ && sudo -u gitea GITEA_WORK_DIR=/var/lib/gitea/ nohup /usr/local/bin/gitea web -c /etc/gitea/app.ini &

Could first measure on last two backups how much space would have been spared.

Is it possible to compress the backup?

See #2.

To reduce backup size of the following gitea update command: ```bash VERSION=1.21.7 && cd /usr/local/bin/ && wget https://github.com/go-gitea/gitea/releases/download/v$VERSION/gitea-$VERSION-linux-amd64 -O newgitea && chmod +x newgitea && mv newgitea gitea && killall gitea; zip -r /var/backups/gitea-$VERSION.zip /etc/gitea/ /var/lib/gitea/ /var/lib/mysql/gitea/ && sudo -u gitea GITEA_WORK_DIR=/var/lib/gitea/ nohup /usr/local/bin/gitea web -c /etc/gitea/app.ini & ``` Could first measure on last two backups how much space would have been spared. Is it possible to compress the backup? See #2.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Benjamin_Loison/rsnapshot#1
No description provided.