UGU: Unix Guru Universe - Unix Tip #4612- October 27, 2018
- Home : Help
: Today's Tip
Unix Tip #4612- October 27, 2018
BACKING UP FILES
Ever needed to backup all
of your configuration files
in one fail swoop?
Using an editor create a
Enter the full path of the
files needed to backup.
and so on until you have a full list of files.
Save the file and quit
Compress the files using tar:
tar cvfzT /tmp/backup.tar.gz configlist
tar: Removing leading `/` from absolute path names in the archive
WARNING! This file contains some files that could only be read by a
limited number of users. Store it carefully so only the Administrator can
Check "man tar" on your flavor,
the "z" and "T" options are
not available on all flavors
This tip generously supported by: email@example.com
NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
LAST 5 TIPS
- SNEAK THE EDUCATION IN
- MANIPULATE MULTIPLE FILES
- UNDO HP SECURE PASSWORD FACILITY
- COMMENT OUT MULTIPLE LINES
- HOW MUCH SOLARIS MEMORY?
I want to
and get a UGU Tip everyday.
I want to
and NOT get a UGU Tip everyday.
If you have a UNIX TIP let us know, we just may use it:
(All tips become the property of the Unix Guru Universe)
Copyright 1994-2018 Unix Guru Universe