0
votes
2answers
40 views

find/tar combination to backup certain files at one level, and all files in one subdirectory

Our server's directory structure is like this /home/site1/public_html /home/site1/logs /home/site1/cgi-bin etc...(it's the standard when using virtualmin) What I want to schedule backups for is ...
1
vote
0answers
190 views

Tar extract error - implausibly old time stamp 1970-01-01 01:00:00 [closed]

I was create a tar script to make a backup of / directory on flash drive with exluding these folders: /lost+found /mnt /media /proc /sys /tmp Here's a fragment of script: sudo tar -zcpf ...
0
votes
1answer
109 views

How to correctly restore system from tar backup?

Ok, so I decided to make a backup of my ubuntu 13.04 system using tar. I was following guide here and I made a backup of my ubuntu installation. Now, what I don't understand, is how to restore from ...
0
votes
0answers
92 views

Can't login after restoring backup with TAR

I created backup of ~/. with TAR by the command-line. I excluded folders like /proc, /sys etc. But I included the /home folder because there are some important configuration files for settings of ...
4
votes
1answer
148 views

Can I tar the whole system, clear everything and untar it back?

I have to do the whole system cleanup, deleting and recreating all partitions. I'm wondering if I could simply tar all my / (excluding proc, sys and mnt) into archive and then untar it into clear ...
8
votes
1answer
11k views

How do I extract a specific file from a tar archive?

Hi is possible to restore a single file from the .tar backup ? I dont want to restore total backup . i just want to restore one single file from the backup .
1
vote
1answer
2k views

How can I backup and encrypt with tar, split and openssl, all in one command?

I often use tar to backup my stuff in 4 gigabyte chunks to a directory on a FAT32-formatted disk, as documented here. To get that done, I use the following command: tar -cvpj /path/to/directory/ | ...
1
vote
1answer
2k views

(tar: /dev/nst0: Cannot read: Cannot allocate memory) with tar, pv and tape drive

I'm trying to use pv (pipeviewer) along with tar to do tape backups in order to see the progress and eta like so: du -s /home/myuser 115630916 /home/myuser tar -cf - /home/myuser/ | pv -s 115630916 ...
5
votes
2answers
6k views

Encrypt tar.gz file on create

I have a script which creates a nightly backup of several directories. It is created using tar -czf, and the destination tar.gz file path is on a mounted network directory. The resulting file is ...
1
vote
1answer
364 views

Can you help me remotely backup my filesystem?

The institution I work for wants me to backup the entire filesystem of a server and store it on another server. Both servers are running the latest release of Ubuntu. I'm having a little bit of ...
0
votes
3answers
571 views

tar: “Cann't stat: No such file or directory”

Following command sudo tar jcf /datos/backup/news/news.tar.bz2 -C /var/www/news news is giving "tar: Cann't stat: No such file or directory" error. How can I solve this problem? As it had been ...
4
votes
2answers
249 views

how would I create a tar without using sudo?

If I tar my /home/username and create the .tar file in /home/username, then I get an error of the sort . file changed as we read it probably because the directory file itself is changing due to the ...
2
votes
1answer
503 views

backup by compress tar each directory

I’m looking for a method to scan a directory (not recursive) and tar it using the original folder name, and then delete the folder (so I will have only the folder compressed) Anyone has the command ...
1
vote
3answers
1k views

How do I extract a tarball, skipping some of the leading directories?

I am archiving a folder using following command: tar jcf "home/username/forum/forum.tar.bz2" /var/www/forum/ Then I am extracting using : tar jxf forum.tar.bz2 ./ It extracts correctly, but ...
0
votes
1answer
803 views

tar: Backing up an encrypted /home folder?

After some trial and error, I've managed to backup my Ubuntu 10.04 workstation and it's time for my Laptop. It also runs 10.04, but has an encrypted /home folder. Running the below snippet as root ...
3
votes
1answer
10k views

tar Exiting with failure status due to previous errors

I am trying to backup my Ubuntu workstation by the help of this guide and are running into trouble as the tar command outputs Exiting with failure status due to previous errors. Here's what I ...