Questions tagged [Tar] (66)

1
answer

How to handle an empty argument in the function?

Write the script for backup. It is a function of using tar makes the archive. There are 3 types of archives. Two of them have excluded the folder. In one there. The way you want to back up and to exclude folders are passed using references to arrays from the main script. The problem is that in the third embodiment, when the...
Jalon8 asked April 8th 20 at 01:55
2
answers

How to restore a Linux server from a tar archive?

A backup linux server in tar format.gz_mvd I want to expand on the virtual reality and Hyperv. All that is known about a server is that it's on Debian 7 To be honest with backup and especially recovery in linux are not faced, do not quite understand the procedure. What to create partitions, how to deploy, backup, bootloader...
mckenna83 asked April 4th 20 at 00:38
0
answer

In node js to unzip the folder from the tgz(tar.gz)?

There is a file uploaded to a server file.tar.gz. It is a folder with files and nested folders. By means of zlib and tar to unpack all the contents? With zlib, in principle, everything is clear - zlib.Unzip(), but on normal tar dokumentarci not found. Can someone tell me how to implement it?
maryam_Ernser asked April 1st 20 at 16:00
1
answer

What's the problem with tar?

I suddenly had a problem. A lifetime doing the archive from the MC team: tar cpvzf files.tar.gz * And now after typing this command we got this error:tar cpvzf files.tar.gz * tar: You may not specify more than one '-Acdtrux', '--delete' or '--test-label' option Try 'tar --help' or 'tar --usage' for more information. How to ...
clinto asked March 31st 20 at 15:58
1
answer

How to raskomentiruyte .tar kernel from samsung?

Need to get a couple of sounds, I can't figure out who else knows this ?
oren.Kiehn asked March 27th 20 at 11:41
2
answers

As ekranirovanii the names of the folders in the tar?

Good afternoon. There is a bash script that runs the backup folders for the ELK. The names of the folders created from random characters, and when the folder starts with "-". For example, "- 32JUVRKW5Qx9MrF49oQ". The future tar perceives the symbol as an option and falls, respectively. Team "tar-cvzf $ARCHIV_DIR/$ARCHIV_DAT...
adolph.Ritchie23 asked March 25th 20 at 12:15
1
answer

How to unzip tar.xz for java?

Java-how to unzip tar.xz archive?
jaclyn.Wiso asked March 24th 20 at 14:46
0
answer

How to exclude the contents of a folder from a tar archive?

For example, as I understand it, this command:tar-pczf MyBackup.tar.gz /home/user/public_html/ --exclude "/home/user/public_html/tmp" exclude the tmp folder from the archive, but I need to have it included in the archive, but just empty.
maudie.Jacobson41 asked March 23rd 20 at 19:41
1
answer

How to create Snapshot file folders incremental backup using tar?

The situation is this: you need to regularly backup a folder and sometimes to restore it. Do this: tar --create --listed-incremental=snapshot_file --file "a.1.tar" /dir get arhivchik: a.0.tar (full archive) a.1.tar (archive changes), etc. All good is created until the folder will not restore from the archives. Then, the nex...
hosea asked March 21st 20 at 13:22
1
answer

How to unzip a file on a remote server?

Write script which sends the archive databases on the server, and unpacks it there. But can't spell the unboxing.tar-zcvf ./$fileName $dbsDir scp ./$fileName root@$server:/home # Does not work. Just an example ssh root@$server 'cd /home && tar xvf $fileName'
celia.Bergstrom75 asked March 16th 20 at 14:21