System backup strategy lazarus / 8-Other ---------------------------------------------------------------------- jiaxing2 · 2020-05-12 10:31 Today I was saved by Time Shift on my Linux Mint. Suddenly Lazarus can't compile any packages and I removed lazarus.old to save space. This is my common practice to remove lazarus.old and strip all symbol from the lazarus binary to save space. lazarus binary is about 300mb on my system. I tried everything I can without success. Finally, I remembered I have Time Shift set up when first installed Linux Mint  I wonder what backup strategy you are using ---------------------------------------------------------------------- af0815 · 2020-05-12 11:01 GIT, fpcupdeluxe AND a lot of SSD-Space (and RAM too). So the size of the fpc & lazarus is meaningless for me. Actual i have 5 complete installation on my system and some virtual machines. For me a simple strategy. All of the realy needed Information, Software must in a repository. This is usefull, because i can switch between the workstations of my own. ---------------------------------------------------------------------- trev · 2020-05-12 12:51 8TB of Time Machine backups on an external (shingled ... grr ... it was cheap) hard disk plus 1TB external SSD with "important" files. ---------------------------------------------------------------------- marcov · 2020-05-12 12:53 Yeah, I mostly consider my installations scratch and backed up by SVN. Occasionally I make backups of settings dirs. Even if just to find out if I changed something. ---------------------------------------------------------------------- jiaxing2 · 2020-05-12 17:32 Quote from: marcov on May 12, 2020, 02:53:59 pmYeah, I mostly consider my installations scratch and backed up by SVN. Occasionally I make backups of settings dirs. Even if just to find out if I changed something. You set up your own svn server or rely on third party? ---------------------------------------------------------------------- winni · 2020-05-12 18:08 Hi! If you got enough space then do it like my strategy: * Make once a backup of all important data on a separate disk, maybe external * Copy at night per cronjob all data with a timestamp <= 24 hours ago to a dedicated directory - today in  2020_05_12 The copying is done by rsync About one page of bash script does the job with: excluding directories, excluding filetypes, giving the backup files the same rights as the original, etc, etc Searching for files can be done with find Searchin *in* files can be done with a recursive grep That backup helped me a lot of times. Winni ---------------------------------------------------------------------- af0815 · 2020-05-13 12:10 Quote from: jiaxing2 on May 12, 2020, 07:32:15 pmYou set up your own svn server or rely on third party? I use a NAS storage with the installable GIT and SVN Server. (Synology) GIT: https://www.synology.com/en-global/dsm/packages/Git SVN: https://www.synology.com/en-global/dsm/packages/SVN And the repositories are backuped with rsync to a remote NAS :-) ---------------------------------------------------------------------- jiaxing2 · 2020-05-13 12:56 Quote from: af0815 on May 13, 2020, 02:10:00 pmQuote from: jiaxing2 on May 12, 2020, 07:32:15 pmYou set up your own svn server or rely on third party? I use a NAS storage with the installable GIT and SVN Server. (Synology) GIT: https://www.synology.com/en-global/dsm/packages/Git SVN: https://www.synology.com/en-global/dsm/packages/SVN And the repositories are backuped with rsync to a remote NAS :-) This is many layers of backup. Your data seemed to be absolutely safe ---------------------------------------------------------------------- jiaxing2 · 2020-05-13 12:57 Quote from: winni on May 12, 2020, 08:08:11 pmHi! If you got enough space then do it like my strategy: * Make once a backup of all important data on a separate disk, maybe external * Copy at night per cronjob all data with a timestamp <= 24 hours ago to a dedicated directory - today in  2020_05_12 The copying is done by rsync About one page of bash script does the job with: excluding directories, excluding filetypes, giving the backup files the same rights as the original, etc, etc Searching for files can be done with find Searchin *in* files can be done with a recursive grep That backup helped me a lot of times. Winni Time Shift is also based on rsync and it does something similar to you, except it is a graphical application ---------------------------------------------------------------------- af0815 · 2020-05-13 15:59 Quote from: jiaxing2 on May 13, 2020, 02:56:23 pmQuote from: af0815 on May 13, 2020, 02:10:00 pmQuote from: jiaxing2 on May 12, 2020, 07:32:15 pmYou set up your own svn server or rely on third party? And the repositories are backuped with rsync to a remote NAS :-) This is many layers of backup. Your data seemed to be absolutely safe  We had a fire in my last company  so i saw and know what it means data is saved and safe ---------------------------------------------------------------------- lucamar · 2020-05-13 16:38 Quote from: jiaxing2 on May 13, 2020, 02:56:23 pmQuote from: af0815 on May 13, 2020, 02:10:00 pmI use a NAS storage with the installable GIT and SVN Server. (Synology) GIT: https://www.synology.com/en-global/dsm/packages/Git SVN: https://www.synology.com/en-global/dsm/packages/SVN And the repositories are backuped with rsync to a remote NAS :-) This is many layers of backup. Your data seemed to be absolutely safe  You think two layers is many? We use five  (not counting repo check-ins): a personal, local one + WAN repos per day (in odd-even scheme); a weekly WAN backup of both our and the server computers and monthly syncs of the WAN servers to yet another location. And the reason is similar to the one given by af0815: once bitten, twice shy ---------------------------------------------------------------------- avra · 2020-05-13 18:11 Acronis for disk images and Cobian Backup for live scheduled backups. Data stored on 8TB disk of a linux media center. ---------------------------------------------------------------------- jiaxing2 · 2020-05-14 05:45 Quote from: af0815 on May 13, 2020, 05:59:32 pmWe had a fire in my last company  so i saw and know what it means data is saved and safe Quote from: lucamar on May 13, 2020, 06:38:23 pmYou think two layers is many? We use five  (not counting repo check-ins): a personal, local one + WAN repos per day (in odd-even scheme); a weekly WAN backup of both our and the server computers and monthly syncs of the WAN servers to yet another location. And the reason is similar to the one given by af0815: once bitten, twice shy I'm home user, guys. Corporate system is another story ---------------------------------------------------------------------- jiaxing2 · 2020-05-14 05:53 Quote from: avra on May 13, 2020, 08:11:25 pmAcronis for disk images and Cobian Backup for live scheduled backups. Data stored on 8TB disk of a linux media center. When I still use Windows, I use Drive Snapshot instead of Acronis for system image but didn't use any solution for file backup  Luckily, I didn't hit by any ransomware but just a normal malware. I didn't bother to download MalwareBytes or rollback to my previous snapshot (my system didn't have any security software and Windows updated already disabled) but instead switch to Linux completely. I'm a Linux user since then ---------------------------------------------------------------------- jwdietrich · 2020-05-14 07:33 You will never make enough backups... On macOS I use Apple's Time Machine (which is excellent), but I make additional monthly backups on offline media. I don't make backups on Linux and Windows, but these machines are only mirrors of my Macs. The main advantage of backups is that they reduce the effects of our own mistakes. Hardware or OS-related problems are rare today. ---------------------------------------------------------------------- lucamar · 2020-05-14 08:29 Quote from: jwdietrich on May 14, 2020, 09:33:50 amHardware or OS- related problems are rare today. You must be really lucky  Quote from: jiaxing2 on May 14, 2020, 07:45:42 amI'm home user, guys. Corporate system is another story  Even home users (and more so "hobbyist" programmers) should have a good backup strategy. It's all too easy to lose months (or years!) of work from lots of causes: a program fails and trashes your main disk, the disk(s) wear out (or fail) and start banging their heads all over the plates, you wake up one day with "butter fingers" and the laptop falls down a staircase, etc. And it almost always happens at just the worse moment. Nowadays people have a single "big" (1, 2 or more TiB) disk and keep everything in it so as to have it inmediately accesible, not realizing that if it fails they'll lose everything, whereas with a simple dual odd-even days backup strategy they would lose at most one day of easily recoverable work. The motto still is: never keep your all eggs in one basket ---------------------------------------------------------------------- af0815 · 2020-05-14 09:09 Quote from: jwdietrich on May 14, 2020, 09:33:50 amThe main advantage of backups is that they reduce the effects of our own mistakes. Hardware or OS-related problems are rare today. I cannot say Hardware or OS-related problems are rare, a aktivation of the linux subsystem of windows can make a mess on your PC. Bootin into repair and .... a good backup is gold. And harddisks easily die .. also tested ... a good back..... ---------------------------------------------------------------------- jwdietrich · 2020-05-16 09:29 Quote from: af0815 on May 14, 2020, 11:09:24 amQuote from: jwdietrich on May 14, 2020, 09:33:50 amThe main advantage of backups is that they reduce the effects of our own mistakes. Hardware or OS-related problems are rare today. I cannot say Hardware or OS-related problems are rare, a aktivation of the linux subsystem of windows can make a mess on your PC. Bootin into repair and .... a good backup is gold. And harddisks easily die .. also tested ... a good back..... Well, I am mainly a Mac user. The situation may be different on alternative operating systems. BTW, as mentioned above, SVN is a good unconventional backup option, too. However, it works, of course, for project folders only.