backup: get date that understands yesterday #517

Closed
GhostPLACEHOLDER wants to merge 0 commits from refs/pull/85/head790de1a38395fb0078dc1a08c15ce8b1f10fff4b into mainb7623d4bc2060d7314b1fa148acb2e859c9894df
First-time contributor
+ date '+%d' -d yesterday
date: invalid date 'yesterday'
+ date '+%d'
+ rsync -e 'ssh -oStrictHostKeyChecking=no -p23' -zvaHS --delete --link-dest ../../forgejo-next-v8/backup-day-/ /data/ u432374@u432374.your-storagebox.de:forgejo-next-v8/backup-day-12/
Failed to add the host to the list of known hosts (/root/.ssh/known_hosts).
sending incremental file list
created directory forgejo-next-v8/backup-day-12
--link-dest arg does not exist: ../../forgejo-next-v8/backup-day-
./
``` + date '+%d' -d yesterday date: invalid date 'yesterday' + date '+%d' + rsync -e 'ssh -oStrictHostKeyChecking=no -p23' -zvaHS --delete --link-dest ../../forgejo-next-v8/backup-day-/ /data/ u432374@u432374.your-storagebox.de:forgejo-next-v8/backup-day-12/ Failed to add the host to the list of known hosts (/root/.ssh/known_hosts). sending incremental file list created directory forgejo-next-v8/backup-day-12 --link-dest arg does not exist: ../../forgejo-next-v8/backup-day- ./ ```
root closed this pull request 2025-05-29 20:27:51 +00:00
Some checks failed
build / lint (push) Has been cancelled
build / lint (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No description provided.