All, I have a quick question about back up. I user tar to back up /home and my question is if a user has a file locked (in use) does tar still back it up or does it skip it? I was thinking of writing a script that stops smb, does the tar, then restarts smb. Is this necessary? I appreciate the info. Cheers, Tony Ricker Technology Coordinator St. Louis University Phone: 314.977.6844 Pager: 314.491.0730
Tar doesn't care about file locking, in fact it doesn't know anything about it. It will cheerfully back up locked files. The only concern is if the user happens to save the file at the exact moment tar is backing it up, the copy tar archives may be corrupt. For that reason it's best to do backups when the system is idle. (i.e., after hours) -----Original Message----- From: Ricker, Tony [mailto:rickert@slucare1.sluh.edu] Sent: Tuesday, April 09, 2002 10:49 AM To: 'samba@lists.samba.org' Subject: [Samba] Samba Backup question All, I have a quick question about back up. I user tar to back up /home and my question is if a user has a file locked (in use) does tar still back it up or does it skip it? I was thinking of writing a script that stops smb, does the tar, then restarts smb. Is this necessary? I appreciate the info. Cheers, Tony Ricker Technology Coordinator St. Louis University Phone: 314.977.6844 Pager: 314.491.0730 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Dave, Thanks for your response. I thought what you said was the case, and I do back up after hours. So the script that I mentioned earlier is a moot point? I appreciate your time. Cheers, Tony -----Original Message----- From: David Brodbeck [mailto:DavidB@mail.interclean.com] Sent: Tuesday, April 09, 2002 9:59 AM To: 'Ricker, Tony'; 'samba@lists.samba.org' Subject: RE: [Samba] Samba Backup question Tar doesn't care about file locking, in fact it doesn't know anything about it. It will cheerfully back up locked files. The only concern is if the user happens to save the file at the exact moment tar is backing it up, the copy tar archives may be corrupt. For that reason it's best to do backups when the system is idle. (i.e., after hours) -----Original Message----- From: Ricker, Tony [mailto:rickert@slucare1.sluh.edu] Sent: Tuesday, April 09, 2002 10:49 AM To: 'samba@lists.samba.org' Subject: [Samba] Samba Backup question All, I have a quick question about back up. I user tar to back up /home and my question is if a user has a file locked (in use) does tar still back it up or does it skip it? I was thinking of writing a script that stops smb, does the tar, then restarts smb. Is this necessary? I appreciate the info. Cheers, Tony Ricker Technology Coordinator St. Louis University Phone: 314.977.6844 Pager: 314.491.0730 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba