Results 1 to 6 of 6
Quick question, does tar not recognize .sql files? I am trying to tar a directory that just has a backup of my sql database in it and I'm getting this ...
- 10-20-2011 #1Just Joined!
- Join Date
- Aug 2011
- Posts
- 10
Quick question: does tar not recognize .sql files?
Quick question, does tar not recognize .sql files? I am trying to tar a directory that just has a backup of my sql database in it and I'm getting this message: tar: Cowardly refusing to create an empty archive
Anyway to get tar to realize the archive wont be empty?
- 10-20-2011 #2
tar will work on any file, even special ones like device files.
You need to be sure, that the files are consistent while creating the tarball, though.
The error message indicates wrong usage.You must always face the curtain with a bow.
- 10-22-2011 #3
Can you show us the tar command that you're running? As Irithori says, tar works on all files.
DISTRO=Arch
Registered Linux User #388732
- 10-24-2011 #4
- 10-24-2011 #5
If you're using GNU tar, and you probably are, the tutorial for it is here. It's worth a read.
- 10-24-2011 #6Just Joined!
- Join Date
- Aug 2011
- Posts
- 10
thanks guys, i didnt have the "-" for the parameters in the right place, thats why it was creating an empty tar file.


Reply With Quote
