Create archive in storage server-Failed

image


Hi KodeKloud support ,
I have create archival of /data/rose directory
tar -cvf rose.tar.gz /data/rose
and copied into /home/ directory here are the screen shot for your reference ,
May i know the reason for task fail ?

Hi
If you use .tar.gz, you must include z option in the tar : tar cvzf
so if you need only tar, you don’t have to specify .tar.gz (.tar only)

1 Like

Thanks for information