I see that I have access to a rolling set of backups via the Odoo.sh control panel on the BACKUPS tab.
If I want to download these via scripted automation (and store them somewhere else) is this possible?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I see that I have access to a rolling set of backups via the Odoo.sh control panel on the BACKUPS tab.
If I want to download these via scripted automation (and store them somewhere else) is this possible?
Yes.
The most current backup is available in /home/odoo/backup.daily
To use ssh you first need to set up your public key in your GitHub profile. If you do not already have one, you can generate a pair of rsa keys by following Github's documentation.
Once this is done, you will be able to connect through ssh to any of your builds using:
ssh <build_id>@<domain>
The domain is the url you use to connect to the build. For example:
ssh 123456@my-project-my-branch-123456.dev.odoo.com
The SSH button at the top of your branch will show you the specific port and URL
Hi Ray. Thank you for the info!
I have a few quick questions, if that's okay:
* How does Odoo.sh choose which key(s) to use? It's possible to add multiple keys in Github - is that supported by Odoo.sh?
* When are keys imported to Odoo.sh - at login-time/JIT, periodic imports, or perhaps GitHub hooks? For example, if a new key is added to Github, is there a delay before it's useable in Odoo.sh?
* Which cipher alogritms are allowed? I assume standard RSA would be fine, but are others useable (e.g. ECDSA or Ed25519)?
I ask these questions because, despite setting things up (AFAIK) correctly, I still can't SSH into my Odoo.sh instance: "Permission denied (publickey)."
Checking with `ssh -vv <xx>` shows that authentication is being attempted, but the key is being rejected. The same key is usable to push commits to GitHub. It's an Ed25519 that was added to Github *after* the Odoo.sh project was created. I wonder if maybe the cipher is not supported, or the key has not been imported to Odoo.sh?
I've been through some debug steps already:
- The key works when pushing to Github
- Permissions are set correctly (0600)
- SSH agent is not running (using `-i <keyfile>`)
- My account has "admin" permissions in Odoo.sh
- SSH doesn't work for any branch in the project
Any help would be very much appreciated. I couldn't find much info online :-(
I suggest you contact Odoo Support and open a ticket as I don't have the information you are asking for.
Hi Raju,
I don't know if you figured out how to connect, but here is what you need to do:
1. generate an ssh key on your computer (Reading through your question, you already have this)
2. Login in odoo.sh
3. Go to your profile page
4. Paste your ssh key (the public one) in the SSH keys field (or click on 'import' from github
5. Now you can connect to your container through ssh like the example mr. Ray states.
Kind regards,
Hi Raju,
did you gather any further insights? I cant connect via .ssh while being seemingly correctly added to git.
Thanks,
Friedrich
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Dec 24
|
3559 | ||
|
2
May 24
|
5523 | ||
|
1
Mar 25
|
6015 | ||
|
5
Mar 25
|
38371 | ||
|
28
Dec 23
|
25492 |
@Raju, did you get some insights from the support about this issue ? I am running into the same problem...