Re: [Astlinux-users] USB disk automount in Astlinux

2023-04-29 Thread Ionel Chila via Astlinux-users
Gonzalo I backup my PBX in 2 places. 1. I have a permanent USB disk mounted as /mnt/kd/USB/ and a script in the crontab takes care of the backup: 0 4 * * * tar czf /mnt/kd/USB/backup.`date "+%Y-%m-%d"`.tar.gz $(ls -1 /mnt/kd/ | sed -e "s/^cdr-.*//" -e "s/^USB$//" -e "s/^monitor$//" -e

Re: [Astlinux-users] USB disk automount in Astlinux

2023-04-29 Thread Lonnie Abelbeck
> The idea was to mount the disk not only at startup but each time the disk is > plugged and keep it switched off most of the time but I'll have to mount it > with a custom script instead of automatically. Gonzalo, Make certain you 'umount' before unplugging or powering down the USB disk.

Re: [Astlinux-users] USB disk automount in Astlinux

2023-04-29 Thread Gonzalo
Hi, Thank you Ionel and Lonnie. The idea was to mount the disk not only at startup but each time the disk is plugged and keep it switched off most of the time but I'll have to mount it with a custom script instead of automatically. I have a remote controlled switch which I use to power on the