> 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.

Periodic network/cloud backups also work well.

BTW, AstLinux supports a 'wol-host' command to wake a network device that 
supports Wake-on-LAN ... some testing is required for particular hardware.
--
Usage: wol-host [options...] ipv4_addr|name

Options:
  --mac MAC    Manually define the MAC address, aa:bb:cc:dd:ee:ff, default 
none/auto-lookup
  -p pass      Append aa:bb:cc:dd[:ee:ff] password to the WoL packet, default 
none
  -P, --ping   Follow WoL packet with a series of ICMP (ping) packets to host.
  -t secs      Max time (in secs) to send ping packets, default 180
  -v           Verbose mode
  -h, --help   Show this help text
--
So, if everything works correctly, an AstLinux script could initiate a backup 
by first sending a WoL packet to wake a network file server, perform the backup 
and then let the network file server sleep after a period of inactivity.

Lonnie




> On Apr 29, 2023, at 4:52 AM, Gonzalo <goniba...@hotmail.com> wrote:
> 
> 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 disk each time 
> I want to perform a backup.
> 
> Regards.
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.



_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to