Re: [Bacula-users] Incr/Diff not backing up mv'd files
mv does not change the dates, only cp change the time, because it is a new file. Daniel Am Mo., 12. Feb. 2024 um 22:39 Uhr schrieb Chris Wilkinson < winstonia...@gmail.com>: > I don't have mtimeonly set. > > I mv'd a sample file in my home directory as an experiment and saw that > stat reports that atime, mtime remain unchanged but ctime does change as > you expected. > > When I stat one of the files I moved before, I see that ctime did not > change. > > I had previously mv'd a whole subdirectory containing several > subdirectories, each with a dozen or so files. I see that the mv'd > subdirectory ctime changes but ctime for the contained subdirectories and > files does not. > > This presumably is why they did not get backed up. I set the accurate flag > in the job resource and then the files do get backed up. > > -Chris- > > On Mon, 12 Feb 2024, 20:33 Martin Simmons, wrote: > >> Do you have the mtimeonly option set in the FileSet? >> >> I would expect mv to change the ctime. Can you repeat this (mv not >> changing >> the ctime)? >> >> __Martin >> >> >> > On Sun, 11 Feb 2024 09:17:10 +, Chris Wilkinson said: >> > >> > I'm seeing that files that are mv'd within the same folder are not being >> > backed up by incr or diff backups. This is on Bacula v11, Debian 11. >> > >> > I'm guessing that this is because mtime and ctime are unchanged by mv >> and >> > that the full path is not used. >> > >> > This is not a big problem I suppose because the files are still there in >> > the last full and will get backed up in the next full. >> > >> > I'm just wondering if this is intended functionality or a >> mis-configuration >> > on my part? >> > >> > Chris Wilkinson >> > >> > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Extremely long restore times.
2011/2/23 Erik P. Olsen epod...@gmail.com: Backup is swift so I don't understand why building of directory trees should take so long time. When the directory trees have been build, the restore is as swift as the backup. I suspect problems with the mysql database but have no idea of what I could/should do to correct the problem. I did have the same problem some days before. I googled around about mysql performance and found the following solution: You should optimize from time to time the mysql-db. I have scheduled now dayli the follwing command: /usr/bin/mysqlcheck -Aao Now the directory tree is build fast enough. regards Daniel Etter -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Media Rotation
2010/10/26 Telemat bacula-fo...@backupcentral.com: We have 10 volumes, 5 for the weekdays in week one and 5 for the weekdays in week 2. We have 5 pools, but from what you are saying is that each day should have its own unique pool? I have modeled our backup job on this : - http://www.bacula.org/fr/dev-manual/Backup_Strategies.html, the daily tape rotation. If I add the Volume Use Retention to 23h in this model, will it keep using the same tape or will it actually rotate between the two tapes? This is my pool-configuration: # Default pool definition Pool { Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Action on purge = truncate Volume Retention = 182 days # 1/2 year Maximum Volume Bytes = 53687091200 Maximum Volumes = 14 LabelFormat = BAND } Pool { Name = Montag Pool Type = Backup Recycle = yes AutoPrune = yes Action on purge = truncate Volume Retention = 2 months Volume Use Duration = 23 hours Maximum Volume Bytes = 53687091200 LabelFormat = MON } Pool { Name = Dienstag Pool Type = Backup Recycle = yes AutoPrune = yes Action on purge = truncate Volume Retention = 8 days Volume Use Duration = 23 hours Maximum Volume Bytes = 53687091200 LabelFormat = DIE } Pool { Name = Mittwoch Pool Type = Backup Recycle = yes AutoPrune = yes Action on purge = truncate Volume Retention = 8 days Volume Use Duration = 23 hours Maximum Volume Bytes = 53687091200 LabelFormat = MIT } Pool { Name = Donnerstag Pool Type = Backup Recycle = yes AutoPrune = yes Action on purge = truncate Volume Retention = 8 days Volume Use Duration = 23 hours Maximum Volume Bytes = 53687091200 LabelFormat = DON } Pool { Name = Freitag Pool Type = Backup Recycle = yes AutoPrune = yes Action on purge = truncate Volume Retention = 8 days Volume Use Duration = 23 hours Maximum Volume Bytes = 53687091200 LabelFormat = FRE } # Scratch pool definition Pool { Name = Scratch Pool Type = Backup } pool default is for full backup (first monday of the month) and catalog backup. pool montag (monday) is for differential backup. Each monday a volume until two full backups pool dienstag-freitag (tuesday-friday) are for daily incrementals. For each pool here, there are two volumes which will be use every second week. This are my schedules: Schedule { Name = WeeklyCycle Run = Full 1st mon at 11:05 Run = Differential Pool = Montag 2nd-5th mon at 11:05 Run = Incremental Pool=Dienstag tue at 11:05 Run = Incremental Pool=Mittwoch wed at 11:05 Run = Incremental Pool=Donnerstag thu at 11:05 Run = Incremental Pool=Freitag fri at 11:05 } # This schedule does the catalog. It starts after the WeeklyCycle Schedule { Name = WeeklyCycleAfterBackup Run = Full mon-fri at 11:10 } Regards Daniel Etter -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Media Rotation
Hi 2010/10/19 Telemat bacula-fo...@backupcentral.com: Hi There, We have 2 Linux based servers running Bacula, one is ClearOS 5.2 and the other is Zentyal. What I need is a clear concise way of setting up a backup routine that will backup on a daily basis of 5 days. The tapes need to be split into 2 groups of 5, 5 for week 1 and 5 for week 2. The method I have tried is to setup 5 pools, Monday - Friday each with 2 tapes and label the tapes and add them to their respective pools. Unfortunately its not fool proof and if we don't constantly monitor it, it can be weeks before a backup is done manually. Is there a simple easy to use method that works that I can try? I use Volume Duration = 23h Volume Retention = 8 days for my daily incrementals. Each day has its own pool whit the above parameters. So a volume wii be used every two weeks regards Daniel Etter -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users