Tar: Cowardly Refusing To Create An Empty Archive

RegisterLogin
Tar: Cowardly Refusing To Create An Empty Archive
Post Description: im getting this error message when i try to execute the tar command to make a backup directory of some websites tar: cowardly refusing to create an empty archive
Tags: tar:, cowardly, refusing, to, create, an, empty, archive
This Post Was Posted On Feb 28, 2010 By Bneterman #3178
im getting this error message when i try to execute the tar command to make a backup directory of some websites:

tar: Cowardly refusing to create an empty archive

this is how my command looks like:

# tar -pczf $BACKUPS $PATH/
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
joanne
#4266 1
sir, help me please..

refusing to create empty archive 原因
Jul 28, 2010 Reply Report abuse
webthismie
#3543 2
note to all that read this:

i have some problems with the environment variables because i rebooted my server it erased, so you need to set your variables permanently
Mar 01, 2010 Reply Report abuse
webune
#3532 3
one of your variables is not set

try these commands to see which variable has no value

# echo $PATH

# echo $BACKUPS

then you can set the variables when you find which one is empty

# export $BACKUPS=myfilename.tar.gz
Feb 28, 2010 Reply Report abuse
Leave Your Comments...
©2012 Webune Forums - Wed Dec 12, 2012 2:59 pm
Powered by: Webune Forums V3