📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Backups on Linux

13»

Comments

  • psychic_teabag
    psychic_teabag Posts: 2,865
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    Forumite
    Is remounting the filesystem read-only an option ? An image backup in that state should be fine. Ideally, /var lives on a separate filesystem from the important stuff, so that log files and things can continue to be written.
  • John_Gray
    John_Gray Posts: 5,851
    Part of the Furniture 1,000 Posts Name Dropper Photogenic
    Forumite
    kwikbreaks wrote: »
    Anyhow it's up and running ...
    Good!

    Unfortunately, I don't think any Linux developer has rewritten VSS for use on Linux, which means that achieving an image backup implies booting from a CD/USB Flash Drive, necessarily offline... :(
  • John_Gray
    John_Gray Posts: 5,851
    Part of the Furniture 1,000 Posts Name Dropper Photogenic
    Forumite
    There's an interesting discussion on the Linux disk image matter, from which I extract the sentence:
    "Obviously, a [Linux] partition cannot be copied while in use"
  • psychic_teabag
    psychic_teabag Posts: 2,865
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    Forumite
    What I really ought to do is add a mechanism to record a snapshot of the state of the (debian) packages before each backup, and then in the event of a total system failure, I can just ask for all those packages to be reinstalled during a rebuild.

    Looks likes I need
    dpkg --get-selections > /etc/apt-selections
    prior to a backup, and then
    dpkg --set-selections < /etc/apt-selections
    as part of recovery, to install all the packages I had previously installed.
This discussion has been closed.
★ ★ ★ Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 355.8K Banking & Borrowing
  • 254.9K Reduce Debt & Boost Income
  • 456.2K Spending & Discounts
  • 248.4K Work, Benefits & Business
  • 606K Mortgages, Homes & Bills
  • 179K Life & Family
  • 263.9K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.