Results 1 to 2 of 2

Thread: Set a backup partition used for update the main partition

  1. #1
    Join Date
    Sep 2017
    Beans
    3

    Question Set a backup partition used for update the main partition

    Hello guys,

    Is it possibile that I set my harddisk to 2 partition, main partition and backup partition.
    The ubuntu system is installed in the main partition, while a backup image made by dd command is put in the backup partition.
    The ubuntu system will check if there is a backup image in the backup partition every time when system started.
    If yes, execute dd command to update the main partition vie backup image.

    Could anyone give me some tips for solution?

    Thanks.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Set a backup partition used for update the main partition

    Often the reason for a backup is for when (not if) hard drive fails. Having backup on same drive then is not a backup.

    Best practice for Backups - theFu
    https://ubuntuforums.org/showthread.php?t=2368992

    If you install your own system you are the system admin
    Sysadmins: Everything they told you about backup WAS A LIE
    http://www.theregister.co.uk/2013/07...ebod_monomyth/
    http://www.smallnetbuilder.com/nas/n...-is-not-backup

    With and dd and continuous mounted drive/partition you have to be careful not not have same UUID. Some users who have made that mistake have system randomly mount one or the other partition depending on which it saw.

    And if drive is newer gpt, you should not use dd on a partition. May work on entire drive, but dd not recommended as a way to backup. GUID/gpt drives have unique data in partition table, backup partition table and each partition that must match. A dd partition copy gets that data out of sync and causes issues.


    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Tags for this Thread

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
  •