This is the old SliTaz forum - Please use the main forum.slitaz.org

Automatic backup/restore ...
  • DarjeelingDarjeeling August 2010
    I'd like to automatically backup a couple of files when re-booting or shutting-down SliTaz and restore them when booting-up again. For restoring the files I put a mount and some copy commands in /etc/init.d/local.sh, which works well. But I have no idea where to put copy commands for the backup. Does anyone know what would be the best place for this?
  • kultexkultex August 2010
    iff you know, what you are doing, you could put them in /urs/bin/desktopbox in the section

    # Logout for Openbox or JWM and system shutdown or reboot.
  • DarjeelingDarjeeling August 2010
    Thanks for the hint, kultex. Automatic backup/restore on shut-down/start-up works now like a charm. It wasn't too difficult. But it would be nice if there was something like "local_up.sh" and "local-dn.sh" in /etc/init.d. People then wouldn't have to tinker with complicated things like /usr/bin/desktopbox ...

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social