[Dirvish] Setting up new backup

Rich Shepard rshepard at appl-ecosys.com
Sun Oct 20 22:38:18 UTC 2019


On Tue, 10 Sep 2019, Rich Shepard wrote:

> I did find my note on now to restore from a backup (other than plain
> copying) so I think I'll continue using dirvish with the new host. Just
> need to re-learn how to set up banks and vaults.

Wes, et al.:

I set up the bank and all the vaults for my desktop. However, when I try to
initialize each dirvish tells me it cannot read the default.conf file. And,
after a while the mounted drive is changed by the system from /dev/sdc1 to
/dev/sdd1.

The host has an AMD Ryzen7 2700 CPU and it is running a fully patched
Slackware-14.2/x86_64.

Currently,
[root at salmo ~]# fdisk -l
Disk /dev/sdd: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 41A307C8-6481-4D1D-AA8A-BF00D3DDF181

Device     Start        End    Sectors  Size Type
/dev/sdd1   2048 3907029134 3907027087  1.8T Linux filesystem

[root at salmo ~]# less /etc/fstab
...
UUID=6e95864b-6291-4148-acd3-627542c8318f  /mnt/backup  ext4  defaults  1   2

The external hard drive is mounted on /mnt/backup. The vaults are (in
alphabetical order) /salmo-data, /salmo-home, /salmo-opt, and /salmo-root.
Each has a dirvish/ subdirectory which contains a vault-specific
default.conf. default.conf is owned by root.root and has 644 perms. For example:

# less /mnt/backup/salmo-dirvish/dirvish/default.conf
client: root at salmo.appl-ecosys.com
tree: /data
xdev: 0
index: gzip

[root at salmo ~]# dirvish --vault salmo.appl-ecosys.com --init
cannot open config file: default.conf

All ideas, suggestions, recommendations and advice are needed and welcome.

Regards,

Rich




More information about the Dirvish mailing list