Created
April 5, 2022 17:06
-
-
Save wanderleihuttel/e1b5de30b796a10b15438525a044679c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Executado script direto | |
root@bacula:~# ./teste.sh | |
2022/04/05 13:53:52 ##### Rclone Copy Bacula Backup to Cloud ##### - start | |
2022/04/05 13:53:52 Command: /usr/bin/rclone sync /etc/bacula onedrive_fc:bacula-backup/etc/bacula --stats=1000m --rc --rc-web-gui --rc-addr 0.0.0.0:5572 --rc-user admin --rc-pass admin --rc-web-gui-no-open-browser --onedrive-no-versions --exclude="*.pid" --exclude="*.state" --exclude="*.conmsg" --exclude="*.trace" --log-file /tmp/wasabi.tmp --log-level INFO --dry-run | |
2022/04/05 13:53:52 Uploading: /etc/bacula | |
2022/04/05 13:53:52 NOTICE: Web GUI exists. Update skipped. | |
2022/04/05 13:53:52 NOTICE: Serving Web GUI | |
2022/04/05 13:53:52 INFO : Using --user admin --pass XXXX as authenticated user | |
2022/04/05 13:53:52 NOTICE: Serving remote control on http://0.0.0.0:5572/ | |
2022/04/05 13:53:52 NOTICE: Web GUI is not automatically opening browser. Navigate to http://admin:admin@0.0.0.0:5572/?login_token=YWRtaW46YWRtaW4%3D to use. | |
2022/04/05 13:53:53 NOTICE: plugins/bacula-sd-cloud-driver.so: Can't follow symlink without -L/--copy-links | |
2022/04/05 13:53:53 NOTICE: plugins/bacula-sd-cloud-s3-driver.so: Can't follow symlink without -L/--copy-links | |
2022/04/05 13:53:54 NOTICE: bootstrap/Backup_Questor_FBK.2022-04-05_12.05.00_27_Full_29620_srv_firebird-fd.bsr: Skipped copy as --dry-run is set (size 470) | |
2022/04/05 13:53:54 NOTICE: working/bacula-dir.conmsg: Skipped copy as --dry-run is set (size 283.635Ki) | |
2022/04/05 13:53:54 NOTICE: working/bacula-dir.9101.state: Skipped copy as --dry-run is set (size 2.145Ki) | |
2022/04/05 13:53:54 NOTICE: working/bacula-sd.9103.state: Skipped copy as --dry-run is set (size 2.145Ki) | |
2022/04/05 13:53:54 NOTICE: | |
Transferred: 288.383 KiB / 288.383 KiB, 100%, 0 B/s, ETA - | |
Checks: 205 / 205, 100% | |
Transferred: 4 / 4, 100% | |
Elapsed time: 2.2s | |
2022/04/05 13:53:54 Transfers had ocurred (g_retval: 0) | |
2022/04/05 13:53:54 log: 288.383 KiB / 288.383 KiB, 100%, 0 B/s, ETA -|205 / 205, 100%|4 / 4, 100%|2.2s| | |
2022/04/05 13:53:54 variables: bytes=288.383 KiB|files=4|elapsed=2.2s | |
2022/04/05 13:53:54 loop (g_retval: 0) | |
2022/04/05 13:53:54 Command: /usr/bin/rclone copyto /backup/disco01 onedrive_fc:bacula-backup/StorageLocal1 --stats=1000m --rc --rc-web-gui --rc-addr 0.0.0.0:5572 --rc-user admin --rc-pass admin --rc-web-gui-no-open-browser --onedrive-no-versions --include="Volume-Diario-*" --log-file /tmp/wasabi.tmp --log-level INFO --dry-run | |
2022/04/05 13:53:54 Uploading: Pools: Diária, Semanal e Mensal | |
2022/04/05 13:53:54 NOTICE: Web GUI exists. Update skipped. | |
2022/04/05 13:53:54 NOTICE: Serving Web GUI | |
2022/04/05 13:53:54 INFO : Using --user admin --pass XXXX as authenticated user | |
2022/04/05 13:53:54 NOTICE: Serving remote control on http://0.0.0.0:5572/ | |
2022/04/05 13:53:54 NOTICE: Web GUI is not automatically opening browser. Navigate to http://admin:admin@0.0.0.0:5572/?login_token=YWRtaW46YWRtaW4%3D to use. | |
2022/04/05 13:53:55 INFO : There was nothing to transfer | |
2022/04/05 13:53:55 NOTICE: | |
Transferred: 0 B / 0 B, -, 0 B/s, ETA - | |
Elapsed time: 1.3s | |
2022/04/05 13:53:55 Transfers had ocurred (g_retval: 1) | |
2022/04/05 13:53:55 There was nothing to transfer (g_retval: 1) | |
2022/04/05 13:53:55 loop (g_retval: 1) | |
2022/04/05 13:53:55 Rclone copy start: 13:53:52 | |
2022/04/05 13:53:55 Rclone copy finished: 13:53:55 | |
2022/04/05 13:53:55 Rclone copy elapsed time: 00:00:03 | |
2022/04/05 13:53:55 ##### Rclone Copy Bacula Backup to Cloud ##### - finished | |
# Executado o comando direto | |
root@bacula:~# /usr/bin/rclone copyto /backup/disco01 onedrive_fc:bacula-backup/StorageLocal1 --stats=1000m --rc --rc-web-gui --rc-addr 0.0.0.0:5572 --rc-user admin --rc-pass admin --rc-web-gui-no-open-browser --onedrive-no-versions --include="Volume-Diario-*" --log-file /tmp/onedrive.tmp --log-level INFO --dry-run | |
root@bacula:~# cat /tmp/onedrive.tmp | |
2022/04/05 14:05:56 NOTICE: Web GUI exists. Update skipped. | |
2022/04/05 14:05:56 NOTICE: Serving Web GUI | |
2022/04/05 14:05:56 INFO : Using --user admin --pass XXXX as authenticated user | |
2022/04/05 14:05:56 NOTICE: Serving remote control on http://0.0.0.0:5572/ | |
2022/04/05 14:05:56 NOTICE: Web GUI is not automatically opening browser. Navigate to http://admin:admin@0.0.0.0:5572/?login_token=YWRtaW46YWRtaW4%3D to use. | |
2022/04/05 14:05:57 NOTICE: Volume-Diario-APAGAR01: Skipped copy as --dry-run is set (size 997.212Mi) | |
2022/04/05 14:05:57 NOTICE: Volume-Diario-APAGAR02: Skipped copy as --dry-run is set (size 16.453Ki) | |
2022/04/05 14:05:57 NOTICE: Volume-Diario-APAGAR03: Skipped copy as --dry-run is set (size 12) | |
2022/04/05 14:05:57 NOTICE: Volume-Diario-0014: Skipped copy as --dry-run is set (size 3.690Gi) | |
2022/04/05 14:05:57 NOTICE: | |
Transferred: 4.664 GiB / 4.664 GiB, 100%, 0 B/s, ETA - | |
Checks: 20 / 20, 100% | |
Transferred: 4 / 4, 100% | |
Elapsed time: 1.8s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment