TIP: Click on subject to list as thread! ANSI
echo: linux
to: RICK SMITH
from: GERRIT KUEHN
date: 2020-12-10 10:05:00
subject: Tar backup script

Hello Rick!

09 Dec 20 22:26, Rick Smith wrote to All:

 RS> The second tar line that is commented out is the nfs drive I would 
 RS> also like the backup to go to, is there a way I guess to incorporate 
 RS> both destinations in one command line?

I'm not sure I understand what you are aiming for. You could send the tar
output through tee to create two destination files, would that help? But why
don't you just copy the first backup to the second location after the first one
is created and done?

Generally, I'd suggest to move away from home-made backup scripts on that level
and use dedicated software like restic instead.


Regards,
Gerrit

... 10:06AM  up 50 days, 21:07, 8 users, load averages: 0.36, 0.33, 0.33

--- Msged/BSD 6.1.2
* Origin: A love pays love for lying (2:240/12)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.