We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 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

Options
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,843 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,843 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
  • 350.8K Banking & Borrowing
  • 253.1K Reduce Debt & Boost Income
  • 453.5K Spending & Discounts
  • 243.8K Work, Benefits & Business
  • 598.7K Mortgages, Homes & Bills
  • 176.8K Life & Family
  • 257.1K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K 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.