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
Install to running duplicacy #442
Comments
If you try to run Also note: the duplicacy version on github is the non-gui one! |
LOL. I am not sure why this is happing but please see for your self. I must have been misspelling it before. I am sure I also tried ./duplicacy and also sure it did not work several hours ago. root@duplicacy:/ # cd /root/go/bin/ USAGE: VERSION: COMMANDS: GLOBAL OPTIONS: root@duplicacy:~/go/bin # |
To run an executable from the current directory, you need to use |
aaah, the old windows vs linux name lookup problem. this bugs me as well when i use a linux machine. |
I am still having some trouble. It looks like duplicacy can't see the directory I am executing it in. Please see below. Again this is in a freenas jail. I have given the jail read/wright permissions to files I am trying to backup.
|
ok, so let's start with this:
You should see from my example that i am using the full path to duplicacy. This is needed because you are in the folder Rule of thumb for your case: when you do any duplicacy commands, you should always use the full path for duplicacy: |
I get this error. I am not sure if the error is coming from a path on this computer (freenas1) or the remote computer (freenas2). |
i have the feeling it's from freenas1, but i am not sure. Also, try to set as storage destination a folder where you have write access on this nas first. Something like: |
#($. The jail dropped the share. |
Thanks for all your help. It looks like it is working for now. Maybe I should move it out of the jail for stability. |
Moving out of the jail should be fine. As a bonus, you wouldn't have to mount your storage in the jail and could reference the files in their natural structure. |
No. Just following the instructions from the QuickStart page. Also I have an other problem. I get the below sftp error after giving the password to the client.
|
this looks like an error on the other side. Check that you have the folders already created on the destination also, you can run duplicacy with |
Looks like it failed to read the ssh key. I did not upload one. I am logging in with password for now. Any idea what it means.
|
How did I install this if I start with? |
no need to install. just run it like any other executable file. |
You probably need to make it executable with: And it would probably be a good idea to rename it to something simpler: |
Dose it need to be in the /root/go/bin/ directory? |
Thanks guys for all your help. It seems to be running now. I have an other issue that I think I should open a new ticket for. Semper Fi |
I am not sure if this is the right place but please help, I can't figure this out. How do I get from
pkg install wget
pkg install go
go get -u github.com/gilbertchen/duplicacy/...
go build -v /root/go/src/github.com/gilbertchen/duplicacy/duplicacy/duplicacy_main.go
chmod +x /root/go/bin/duplicacy
To running duplicacy.
I am running this on a FreenNAS ver-11.1-U5 jail.
----edit----
Ok got it running by downloading the prebuilt exe. Here are the steps.
pkg install wget
Needed to download a file on my system. You may have it installed already.pkg install go
. Not sure if I needed it but I got it anyway.mkdir /root/go/
mkdir /root/go/bin/
cd /root/go/bin/
wget https://github.com/gilbertchen/duplicacy/releases/download/v2.1.0/duplicacy_freebsd_x64_2.1.0
mv duplicacy_freebsd_x64_2.1.0 duplicacy
Changes name to duplicacy. The .0 at the end of the original file was preventing it from running not sure why.chmod +x duplicacy
Makes the file executable../duplicacy
Runs the file in this directory./root/go/bin/duplicacy
Runs the file in any other directory.The text was updated successfully, but these errors were encountered: