You are not logged in.
Pages: 1
I'm trying to set up Borg for backups to a micro SD card I have in my computer. I'm following the recommended instructions to initialize a repo:
borg init --encryption=repokey /path/to/repo
In my case, this command looks like this:
borg init --encryption=repokey /dev/mmcblk0p2
But it keeps returning this error, even though I just formatted the micro SD card and there are no files on it.
There is already something at /dev/mmcblk0p2.
Am I doing something wrong? I found the location of the micro SD card from the "disks" program, and then selected the correct partition to get the path. I've never referenced a micro SD card (or external drive) from within a terminal before.
Last edited by BelowZero (2018-06-20 13:57:34)
Offline
Repositories are filesystem directories acting as self-contained stores of archives
You are pointing to a partition, not a directory.
Offline
I had considered that, and created a folder on the drive that I pointed to in the path. It gave me the same error.
Offline
There is already something at /dev/mmcblk0p2.
Am I doing something wrong? I found the location of the micro SD card from the "disks" program, and then selected the correct partition to get the path. I've never referenced a micro SD card (or external drive) from within a terminal before.
It could be better if mounted on eg: /run/media/BelowZero/...
Offline
Okay, here is the answer for anyone with the same issue:
The drive was already mounted on my system and visibile when I browsed files. I just hovered over the drive and the label "/run/media/belowzero/Backup" showed up. "Backup" was the name I gave to the micro SD card. When I tried this with Borg, it worked fine.
Offline
Pages: 1