I want to backup a directory **FROM**
root@1.1.1.1:/home/user/mc
**TO** /local/backup-folder
on my PC.
Why does this not work?
restic init --repo /local/backup-folder
restic -r /local/backup-folder backup sftp:root@1.1.1.1:/home/user/mc
sftp:root@1.1.1.1:/home/user/mc does not exist, skipping
init does not exist, skipping
Fatal: all target directories/files do not exist
Using ssh root@1.1.1.1 ls /home/user/mc
works, and the remote directory does exist.
Asked by ывапав
(43 rep)
Aug 28, 2023, 02:47 PM
Last activity: Mar 11, 2024, 09:06 PM
Last activity: Mar 11, 2024, 09:06 PM