Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Ubuntu back up and restore type thing?

  1. #11
    Join Date
    Mar 2010
    Location
    Been there, meh.
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Ubuntu back up and restore type thing?

    Quote Originally Posted by shadowtabby View Post
    Ah okies I know I have my NAS access controlled with a firewall, which seems pretty good and need to have an assigned IP address on the router and allowed in the firewall. Only mine and my sisters devices are allowed to access it. On the router. I restricted that to mine and my sisters computers.
    Think about it. If the machine pushing the backup data has malware, any storage, anywhere, that it can access will be destroyed. You don't want backups to be accessible by the likely cracked system. A firewall is fine, but hardly the solution.

    What happens when your computer or your sister's computer have cryptoware on them? Any storage they can access will be corrupted.

  2. #12
    Join Date
    Oct 2024
    Location
    New Zealand
    Beans
    76
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Ubuntu back up and restore type thing?

    Quote Originally Posted by TheFu View Post
    Think about it. If the machine pushing the backup data has malware, any storage, anywhere, that it can access will be destroyed. You don't want backups to be accessible by the likely cracked system. A firewall is fine, but hardly the solution.

    What happens when your computer or your sister's computer have cryptoware on them? Any storage they can access will be corrupted.

    My sisters PC has kapesrky on it, and yeah kaspersky is really good here, and we are not going to have a debate about this (because americans love to argue about kaspersky and I am really not in the mood for arguements).

    My PC is unbuntu, and now pro.... I thought that was supposed to hardern things like that? (I am still learning about ubuntu so it's taking a little time for this, only had it for 3 days). Like I hear there is malware for linux, but no where near as much as windows, and the only windows PC's there are here is my sisters. She doesn't do much things apart from games and typical things. I have taughter her to only get games from trusted sources like steam, or epic or something. Also our DNS we pay for stops a lot of things as well (yes I tested by going into malware etc sites on purpose).

    I'm not completely knew to computers. Just linux. Cause I have been a windows user all my life till now.

  3. #13
    Join Date
    Mar 2010
    Location
    Been there, meh.
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Ubuntu back up and restore type thing?

    You'll need to unlearn much of what MS-Windows taught you. Linux isn't Windows.
    https://linux.oneandoneis2.org/LNW.htm tries to explain the big differences. Most of the difference is philosophical.

    Kaspersky is only a concern due to Russian ties and the ability of that govt to apply pressure to family still in Russia to force the company to do things they would never do. The company has tried to minimize their Russian ties, but we see coercion from a few countries. Those biases will remain on all sides. How can they not?

    I don't know anything about unbuntu.

  4. #14
    Join Date
    Oct 2024
    Location
    New Zealand
    Beans
    76
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Ubuntu back up and restore type thing?

    Quote Originally Posted by TheFu View Post
    You'll need to unlearn much of what MS-Windows taught you. Linux isn't Windows.
    https://linux.oneandoneis2.org/LNW.htm tries to explain the big differences. Most of the difference is philosophical.

    I don't know anything about unbuntu.
    Heyo,

    Yeah I agree, been using pc's since 5 (mainly for gaming, dad got me into it.) and that was only windows.

    So I do agree with you, I do need to unlearn a lot from MS, and changing to linux cause I am sick of ms's crap, was a huge change for me.

    Thank you for your honesty about not knowing anything about ubuntu.

  5. #15
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    5,035

    Re: Ubuntu back up and restore type thing?

    Quote Originally Posted by shadowtabby View Post
    OR will I have to just reinstall ubuntu if I some how mess things up?

    Nothing wrong with reinstalling.
    Nothing wrong with messing things up, either. It's one way to learn.
    Lots of people reinstall for good reasons. Messing things up is just one good reason. There are others.

    Using my notes, I can reinstall, restore my data from backups, and restore my customizations in about 20 minutes. I lose only the data since my last backup. So I backup before anything risky, then I lose nothing at all.

    You're already halfway there: You know how to install, so you know how to reinstall.

    It's a bit like Minecraft or a lot of other games: Try dying and respawning a few times, and it's not scary any more. And you learn a bunch of good habits along the way.

  6. #16
    Join Date
    Oct 2024
    Location
    New Zealand
    Beans
    76
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Ubuntu back up and restore type thing?

    Quote Originally Posted by ian-weisser View Post
    Nothing wrong with reinstalling.
    Nothing wrong with messing things up, either. It's one way to learn.
    Lots of people reinstall for good reasons. Messing things up is just one good reason. There are others.

    Using my notes, I can reinstall, restore my data from backups, and restore my customizations in about 20 minutes. I lose only the data since my last backup. So I backup before anything risky, then I lose nothing at all.

    You're already halfway there: You know how to install, so you know how to reinstall.

    It's a bit like Minecraft or a lot of other games: Try dying and respawning a few times, and it's not scary any more. And you learn a bunch of good habits along the way.

    Thank you. Ig maybe I don't need the backup and stuff, because all my photos etc goes on my nas anyway. And I do get emails if anything is up with the nas, security scans are every night.

  7. #17
    Join Date
    Mar 2010
    Location
    Been there, meh.
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Ubuntu back up and restore type thing?

    If you don't have 3 copies on 3 different physical media, then you don't have any backups. That's the rule. And a RAID mirror is counted as 1 copy.

    We all start out making ZIP files and calling those "backups". then we often start copying files using a file manager to other storage and call that a "backup". The flaw with these is that we humans are lazy and quickly decide that we just did a backup last week or last month or 8 months ago and that's good enough.

    Backup tools exist to make extremely fast and storage efficient backups either daily or weekly. These can be automated, but often, we - being lazy humans - don't bother with the automation part. I had a tape drive, but that was extremely slow, noisy and the tape media wasn't cheap. Because it is a linear storage format, getting back a few files off tape was a hassle too.

    In the early 2000s, I was using rsync to mirror all the storage on a system. 1 copy to another HDD. It wasn't automatic, but I did mostly run my rsync script once every 1 or 2 weeks. That became every month, then every 6 months. Life got in the way and I couldn't remember the last time I'd run the script, so I ran it 1 Saturday morning. Talk about lucky. Early, the next Saturday morning that computer was hacked. The hacking method wasn't silent, so I received thousands of notifications by the time I got up to check email. Because I had made a backup (really just 1 mirror) 7 days before, I was able to compare everything between the two disks and see what had changed and what had not changed. It was extremely clear who they'd hacked into the system and where they'd setup their beach to attempt to get more access. I was very lucky. Of course, a few other files had also changed, but I remembered those documents that I'd been editing that week, so those were never a concern. If I didn't have a recent mirror, I'd have been screwed and not been able to trust any of the files, including data files, on the system. Pure luck.

    After removing the attacker's beachhead files and patching the program they'd used to get into the system at all, I immediately added my manual rsync script to happen automatically, once a week. rsync is great at all sorts of things, but it really isn't a great backup tool. rsync does about 80% of what a great backup tool should do, but for almost ZERO effort, it isn't hard to setup a real backup tool that does versioning for very little extra storage. 90 days of versioned backups needs just 1.3x the space that a mirror needs. So if you are backing up 100G of stuff, for 90 days of daily, versioned, backups, just 130G of storage is needed (that's an estimate). Doesn't that seem like a bargain? Also, once the first backup is made, all the following backups take just a few minutes. Most of the backups of systems here take less than 2 minutes a day to finish.

    I backup about 10 systems every night. The backups for last night started at ....
    Code:
    INFO: Backup Start:	2024-10-21-00:03:01
    and the last backup of the last system ended at ....
    Code:
    EndTime 1729484549.58 (Mon Oct 21 00:22:29 2024)
    A little math says that in less than 20 minutes, I backed up about 10 systems. Again, that seems like a bargain to me.

    I've posted example backup scripts here, but back-in-time will easily do about the same thing.

    Versioned backups are important for a number of reasons. You can look up why.

  8. #18
    Join Date
    Jul 2013
    Location
    Wisconsin
    Beans
    5,035

    Re: Ubuntu back up and restore type thing?

    Quote Originally Posted by TheFu View Post
    If you don't have 3 copies on 3 different physical media, then you don't have any backups.
    TheFu is, as usual, spot-on with a great lesson.

    This site is soaked in the tears of folks who lost forever their only copy of beloved family photos and other valuables.
    Rarely lost by Ubuntu. Commonly lost by folly, fire, and/or forgetfulness.

    It may not be a big consideration right now as you start out and learn.
    But, like regular visits to the dentist, it's one of those good habits you want to develop.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •