We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When creating snapshot, the name is derived from current date/time.
NOW=$(date +"%Y-%m-%d-%H%M%S") // ... DEST="$DEST_FOLDER/$NOW"
However, the log file name is later generated from current date LOG_FILE="$LOG_DIR/$(date +"%Y-%m-%d-%H%M%S").log"
LOG_FILE="$LOG_DIR/$(date +"%Y-%m-%d-%H%M%S").log"
This has the effect that I end up having a snapshot directory with a different name than the log file (off by 1 second).
The log file name should be generated from the same date as the snapshot, i.e.
LOG_FILE="$LOG_DIR/$NOW.log"
The text was updated successfully, but these errors were encountered:
Ensure log and backup have the same name, fixes laurent22/rsync-time-…
91546ef
…backup#255
No branches or pull requests
When creating snapshot, the name is derived from current date/time.
However, the log file name is later generated from current date
LOG_FILE="$LOG_DIR/$(date +"%Y-%m-%d-%H%M%S").log"
This has the effect that I end up having a snapshot directory with a different name than the log file (off by 1 second).
The log file name should be generated from the same date as the snapshot, i.e.
LOG_FILE="$LOG_DIR/$NOW.log"
The text was updated successfully, but these errors were encountered: