-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
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
User error with setting up a remote host? #22
Comments
I think you are confusing some variables? In your script put this variable the top, but below /bin/bash line: Then you write (that pulls the name from the variable above): |
Thank you. I think I got distracted and some of the examples (from memory)
didn't show that variable.
I've left it running doing "something" but no progress is shown (nor any
errors). Away now until Saturday or Sunday with only my tablet for company.
I can tail the log at least!
Appreciate the help in getting me on with this interesting script!
Darren
…On Wed, 8 Dec 2021 at 15:00, NoLooseEnds ***@***.***> wrote:
I think you are confusing some variables?
In your script put at the top, but below /bin/bash line:
remote=<your rclone remote name here>
Then you write:
dest="${remote}:"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABV5MAEP4WI6SWZKSPEGQX3UP5JFTANCNFSM5JTWRCXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Happy to help. :) You'll need to follow the log to see the progress. How much info you get in the log can you set using the I have it hooked up to a slack webhook, so I get notified there when it succeeds or fails. Also have a monitoring service that triggers and sends me an email if it does not complete within a given timeframe. |
I've set a cronjob http service and will see how that works. The backup is still running which is good (its only about 32Tb). Is there any way (planned other backup) to have several sources linked into one backup job? I don't see anything in the documentation or examples in any case? Even if I make a file of paths and use source=file name? |
32 TB is quite a bit, and would probably take quite a while. You should look more into the basics of rclone. I.e filter_rules, you could add multiple sources there. Or you could make symlinks to one directory if that is easier. This script is basicly just automating the backup part, while you should look into rclone for all the rest. |
Ah, thanks. Yes 32Tb is probably large, but it was a dataset on the server
that needed to be backed up anyway...
I will look deeper into the script. I am not the world's best scripter and
am worried about breaking stuff, especially important stuff. I will look
how to make the argument within the script.
d
…On Sat, 11 Dec 2021 at 18:14, NoLooseEnds ***@***.***> wrote:
32 TB is quite a bit, and would probably take quite a while.
You should look more into the basics of rclone. I.e filter_rules, you
could add multiple sources there. Or you could make symlinks to one
directory if that is easier.
This script is basicly just automating the backup part, while you should
look into rclone for all the rest.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABV5MAG3BUNJNBFDNKBAB2TUQN2HDANCNFSM5JTWRCXQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
May I possibly get a nudge in the right direction? I'm having problems getting the script to run using a remote rclone connection.
I have the following elements in the script:
With the objective to backup /home/x/storage/* (all from this point and downwards) to Dropbox location (config made in rclone) dropbox_crypt_WS1bkp. It passes the following command
but I am not getting sense into my head. I've tried adding the source without the dollar sign, without the curly brackets as well (different parts of the script/docs give the impression that they are left out, adding to my confusion).
Any guidance and pointers are welcome.
The text was updated successfully, but these errors were encountered: