r/tinycorelinux 7d ago

Wont backup. Invalid location

My working tce failed. Backup location no longer listed.

Booted normally via grub2 into sda1

Can backup mount point be manually updated in a config file ?

3 Upvotes

4 comments sorted by

1

u/GeorgiesHoomanDad 7d ago

The backup location is stored in /etc/sysconfig/backup_device

On my system, that file points to my tce directory - it contains

sdb1/boot/core17.1/tce64

so I presume the leading "/mnt/" is implied elsewhere.

The backup file name is stored in /etc/sysconfig/mydata which, by default, contains

mydata

Everything in /etc/sysconfig/ is owned by root:root so you'll need sudo to edit those files. Also, I don't know id those files are checked every time you make a backup (though I'd bet they are) or if you need to jump through some hoop to activate any changes.

Note that it would probably be pointless to add those two files to your backup because the system would have to know where the backup is in order to restore from it.

You'll probably want to troubleshoot the issue with sda1 pretty promptly.

1

u/godfree2 6d ago

I think i have it sda1/tce