We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 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 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    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,845 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Photogenic
    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,845 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Photogenic
    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 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    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
  • 351.8K Banking & Borrowing
  • 253.4K Reduce Debt & Boost Income
  • 454K Spending & Discounts
  • 244.7K Work, Benefits & Business
  • 600.2K Mortgages, Homes & Bills
  • 177.3K Life & Family
  • 258.4K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.6K 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.