Skip to content

Commit

Permalink
rclone_jobber.sh, change "$move_old_data_to" to "$move_old_files_to"
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv6 committed Apr 30, 2020
1 parent 62163ca commit 1aa2f3f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ Example backup job with all the rclone_jobber.sh arguments defined:
: $rclone_jobber/rclone_jobber.sh "$source" "$dest" "$move_old_files_to" "$options" "$(basename $0)" "$monitoring_URL"

* Contact
Submit issues to https://github.com/wolfv6/rclone_jobber/issues.
Please tell me if something is wrong, you’re helping me improve this project.

Submit issues to https://github.com/wolfv6/rclone_jobber/issues.
Pull requests are welcome.

* Licenses
Expand Down
2 changes: 1 addition & 1 deletion examples/job_backup_recovery_plan_to_remote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ move_old_files_to="dated_directory"
options="--filter-from=$rclone_wolf/filter_rules_recovery_plan --checksum"
monitoring_URL="https://monitor.io/12345678-1234-1234-1234-1234567890ab"

$rclone_wolf/rclone_jobber.sh "$source" "$dest" "$move_old_data_to" "$options" "$(basename $0)" "$monitoring_URL"
$rclone_wolf/rclone_jobber.sh "$source" "$dest" "$move_old_files_to" "$options" "$(basename $0)" "$monitoring_URL"
2 changes: 1 addition & 1 deletion rclone_jobber.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ timestamp="$(date +%F_%T)"
#timestamp="$(date +%F_%H%M%S)" #time w/o colons if thumb drive is FAT format, which does not allow colons in file name

# set log_file path
path="$(realpath "$0")" #path of this script
path="$(realpath "$0")" #this will place log in the same directory as this script
log_file="${path%.*}.log" #replace path extension with "log"
#log_file="/var/log/rclone_jobber.log" #for Logrotate

Expand Down
2 changes: 1 addition & 1 deletion rclone_jobber_tutorial.org
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ The above "usb" is just a variable name used in the examples, it doesn't actuall
For example:
: export usb="/home/wolfv/test_rclone"

Reload the .profile:
Reload your .profile:
: $ source ~/.profile

To use a tutorial example script as a template for production backups, edit the tutorial scripts:
Expand Down

0 comments on commit 1aa2f3f

Please sign in to comment.