- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: what's different by tar Pcj and tar cvjf ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2004 10:41 PM
01-31-2004 10:41 PM
I do backups of my webserver data with tar Pcj
my colleague is doing with tar cvjf
what's really different ?
kind regards
chris
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2004 11:08 PM
01-31-2004 11:08 PM
Solutionf stands for use a file
some versions of tar default to a file of /dev/rmt/0m if you don't use the -f parameter and specify a file
P I believe stands for preserve permissions and/or Pathes.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2004 11:45 PM
01-31-2004 11:45 PM
Re: what's different by tar Pcj and tar cvjf ?
tar Pcj means use absolute paths, of course create, and j zips through bzip2.
tar cvjf means still create, verbosely lists files created, zips through bzip2 and f stands to precise archive file or device to use.
So the main difference is that your colleague uses a more verbose output than you do, and designate the device or the file archive name to use, and you use absolute paths whereas he doesn't...
working on sunday both of you, along with Steven, hu ?
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2004 11:50 PM
01-31-2004 11:50 PM
Re: what's different by tar Pcj and tar cvjf ?
and which one should I use in your opinion ?
or how do you save your folders ?
kind regards
chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2004 11:57 PM
01-31-2004 11:57 PM
Re: what's different by tar Pcj and tar cvjf ?
if I can ask only, where you guys from ?
you both, Steven and You
helped me so many times.
best regards
chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2004 12:34 AM
02-01-2004 12:34 AM
Re: what's different by tar Pcj and tar cvjf ?
teaching linux for years, and spending my time discovering new things !
And enjoying your questions always precise and well targeted.
As for your question to Steve, using absolute paths is a good idea, verbose is not useful if you know what you do, but I still like seeing the system confirming that everything goes the way I want, and f is useful only to precise archive to use, which doesn't seem to be a necessity for you (but if you precise it thenafter or before, adding it at that point wouldn't do any harm).
So a tar Pvcj could be workable.
Whatesoever, your way is efficient and working.
BTW, I between Valence and Gap, where do you leave in Switzerland ?
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2004 01:00 AM
02-01-2004 01:00 AM
Re: what's different by tar Pcj and tar cvjf ?
I live close to Zürich.
have a nice sunday
chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2004 01:13 AM
02-01-2004 01:13 AM
Re: what's different by tar Pcj and tar cvjf ?
I use tar cvf to build or tar rcf to update and tar xvf to lay it down on the other machine.
So long as I position that tar file correctly everything works out.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2004 02:47 AM
02-01-2004 02:47 AM