|
From: | Emilio García |
Subject: | [Bug-tar] tar command : Something strange is happening |
Date: | Wed, 05 Dec 2018 19:45:00 +0100 |
User-agent: | Roundcube Webmail/1.3.8 |
Dear,
I am writing to you because I have updated the rc in order to make a backup when the system starts up. The problem is when I log into my Debian 9 and tar command is running, I check the file which it is backing up and I see the following: Last login: Wed Dec 5 19:28:41 2018 address@hidden:~$ lla backups/ total 2760288 drwxr-xr-x 2 emiliogq emiliogq 4096 Dec 5 19:39 . drwxr-xr-x 21 emiliogq emiliogq 4096 Dec 5 19:39 .. -rw-r--r-- 1 emiliogq emiliogq 1033557297 Dec 4 19:47 s-c-fw.backup.20181204.194516.tar.gz -rw-r--r-- 1 emiliogq emiliogq 1033557297 Dec 5 19:06 s-c-fw.backup.20181205.190525.tar.gz -rw-r--r-- 1 emiliogq emiliogq 131072 Dec 5 19:39 s-c-fw.backup.20181205.193920.tar.gz -rw-r--r-- 1 emiliogq emiliogq 759267328 Dec 5 19:40 s-c-fw.backup.20181205.193931.tar.gz Two files are created. Could you tell me if there is something that I am not taking into account?
sudo nano /etc/init.d/backup
The command what I am using is:
sudo -u emiliogq nohup tar -zcf /home/emiliogq/backups/$filename /home/emiliogq/workspace/S-C-FW/ &
Thanks in advance,
Emilio Garcia.
|
[Prev in Thread] | Current Thread | [Next in Thread] |