mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Replace tar.gz by tar and add if ssh <> 22 en
This commit is contained in:
parent
d96c231000
commit
63b5fe9e9e
1 changed files with 15 additions and 1 deletions
|
@ -90,6 +90,13 @@ It is possible to use `scp` (a program based on [`ssh`](/ssh)) to copy files bet
|
|||
```bash
|
||||
scp admin@your.domain.tld:/home/yunohost.backup/archives/<archive_name>.tar ./
|
||||
```
|
||||
|
||||
If your SSH port is different from 22
|
||||
|
||||
```bash
|
||||
scp -P ssh_port admin@your.domain.tld:/home/yunohost.backup/archives/<archive_name>.tar ./
|
||||
```
|
||||
|
||||
[/ui-tab]
|
||||
[/ui-tabs]
|
||||
|
||||
|
@ -150,8 +157,15 @@ By default, backups are to be placed in `/home/yunohost.backup/archives/`.
|
|||
You can upload a backup from a machine to your server with :
|
||||
|
||||
```bash
|
||||
scp /path/to/your/<archive_name>.tar.gz admin@your.domain.tld:/home/yunohost.backup/archives/
|
||||
scp /path/to/your/<archive_name>.tar admin@your.domain.tld:/home/yunohost.backup/archives/
|
||||
```
|
||||
|
||||
If your SSH port is different from 22
|
||||
|
||||
```bash
|
||||
scp -P ssh_port /path/to/your/<archive_name>.tar admin@your.domain.tld:/home/yunohost.backup/archives/
|
||||
```
|
||||
|
||||
[/ui-tab]
|
||||
[/ui-tabs]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue