home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.suse      Suse is actually not that bad      138,051 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 137,644 of 138,051   
   Bit Twister to Carlos E.R.   
   Re: yardstick up my behind   
   24 Nov 22 15:31:41   
   
   From: BitTwister@mouse-potato.com   
      
   On Thu, 24 Nov 2022 21:27:19 +0100, Carlos E.R. wrote:   
      
      
   >> Thanks, interesting details, I saved them out. But like I said   
   >> I'm still on training wheels and I never know beforehand what   
   >> dev-name the target disk will be under. I just discovered why   
   >> the target folder isn't shrinking to the size of the source,   
   >> because the --delete option is not the same as -d   
   >   
   > Doesn't matter.   
   >   
   > Just edit the backup script just before running it every time, same as I do.   
      
   Or pass the source/destination as command line arguments and test to make   
   sure they exists.   
      
   Another method is create links to a program and parse the command line to   
   see what to do what.   
      
   I gave one script bkup_restore with links on what to do, backup or restore,   
   with the second part the partition label to use as source.   
      
   $ dir | grep bkup_restore   
   lrwxrwxrwx  1 root root   12 Nov 29  2011 bkup_cauldron -> bkup_restore   
   lrwxrwxrwx  1 root root   12 Sep  9  2014 bkup_mga5 -> bkup_restore   
   lrwxrwxrwx  1 root root   12 Oct  5  2015 bkup_mga6 -> bkup_restore   
   lrwxrwxrwx  1 root root   12 Aug  3  2018 bkup_mga61 -> bkup_restore   
   lrwxrwxrwx  1 root root   12 Jun 29  2019 bkup_mga7 -> bkup_restore   
   lrwxrwxrwx  1 root root   12 Aug 24  2019 bkup_mga71 -> bkup_restore   
   lrwxrwxrwx  1 root root   12 Jan  6  2021 bkup_mga8 -> bkup_restore   
   lrwxrwxrwx  1 root root   12 Feb 27  2018 bkup_net_ins -> bkup_restore   
   -rwxr-xr-x  1 root root 7.3K May  3  2021 bkup_restore   
   lrwxrwxrwx  1 root root   12 Nov 29  2011 restore_cauldron -> bkup_restore   
   lrwxrwxrwx  1 root root   12 May 20  2013 restore_mga3 -> bkup_restore   
   lrwxrwxrwx  1 root root   12 Sep  9  2014 restore_mga5 -> bkup_restore   
   lrwxrwxrwx  1 root root   12 Oct  5  2015 restore_mga6 -> bkup_restore   
   lrwxrwxrwx  1 root root   12 Aug  3  2018 restore_mga61 -> bkup_restore   
   lrwxrwxrwx  1 root root   12 Jun 29  2019 restore_mga7 -> bkup_restore   
   lrwxrwxrwx  1 root root   12 Aug 24  2019 restore_mga71 -> bkup_restore   
   lrwxrwxrwx  1 root root   12 Jan  6  2021 restore_mga8 -> bkup_restore   
   lrwxrwxrwx  1 root root   12 Feb 27  2018 restore_net_ins -> bkup_restore   
      
    lsblk -o NAME,LABEL | grep mga | head -3   
   ├─sda1      mga8   
   ├─sda2      mga6   
   ├─sda16     mga7   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca