Koozali.org: home of the SME Server

Backups retained if I change the Domain Name?

Offline Mirfster

  • *
  • 62
  • +0/-0
Backups retained if I change the Domain Name?
« on: November 14, 2015, 04:30:54 PM »
Just checking before I attempt this in a small lab...

Say I have a SME Server named "SME9.MyDomain.Local".  Everything works great and the DAR backups are running fine (Full and Incremental).

Now, I change the Server to be "SME9.MyNewDomain.Network.SomePlace.com"

At first, I would definitely say that the next backup that runs will think there is not any existing ones since it actually names the folder after the server and domain.

But, out of curiosity, what if before the next backup ran I changed the folder name to reflect the new name?  Not sure if there are further modifications in files required, but was wondering if anyone has had to deal with this scenario before?

Thanks

Offline Mirfster

  • *
  • 62
  • +0/-0
Re: Backups retained if I change the Domain Name?
« Reply #1 on: November 16, 2015, 11:47:39 PM »
Just an update.  Seems like it will perform "incremental backups" based on the initial "full backup" without issues. This will at least save me time since the initial backup is ~ 360 GBs.  However, trying to restore any files from a previous "incremental backup" does not appear to work.  They seem to work fine from newly created "incremental backups" though.  Not a big deal since there are only about 5 days worth of incremental backups...

Next step is to see if I did a full restore, would everything be in-place.

Does anyone know of a program/tool that would allow me to look into the backups to see if anything looks "out of place" as far as paths?

Thanks.

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Backups retained if I change the Domain Name?
« Reply #2 on: November 17, 2015, 12:34:18 AM »
Does anyone know of a program/tool that would allow me to look into the backups to see if anything looks "out of place" as far as paths?
Thanks.

mc dar plugin http://wiki.contribs.org/Backup_with_dar#Adding_Files_and_Directories

Search wiki for more info, its all there
--
qui scribit bis legit

Offline DanB35

  • *****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Backups retained if I change the Domain Name?
« Reply #3 on: November 17, 2015, 03:36:38 PM »
mc dar plugin http://wiki.contribs.org/Backup_with_dar#Adding_Files_and_Directories
I don't see anything on that page, or elsewhere on contribs.org, indicating what that plugin is, how to install it (if necessary, i.e., if it isn't there by default), or how to use it.  Any pointers?  The only reference to mc on that page reads, in its entirety:
Quote
Check your backup (eg using the mc dar plugin) to see that /opt is now included
......

Offline Stefano

  • *
  • 10,894
  • +3/-0

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Backups retained if I change the Domain Name?
« Reply #5 on: November 17, 2015, 04:20:23 PM »
Just an update.  Seems like it will perform "incremental backups" based on the initial "full backup" without issues. This will at least save me time since the initial backup is ~ 360 GBs.  However, trying to restore any files from a previous "incremental backup" does not appear to work.  They seem to work fine from newly created "incremental backups" though.  Not a big deal since there are only about 5 days worth of incremental backups...

Next step is to see if I did a full restore, would everything be in-place.

Does anyone know of a program/tool that would allow me to look into the backups to see if anything looks "out of place" as far as paths?

Thanks.

AFAIK dar creates a catalog file.. maybe it retains domain info and that's why the old incremental backups don't work

just guessing ;-)


Offline DanB35

  • *****
  • 764
  • +0/-0
    • http://www.familybrown.org
Re: Backups retained if I change the Domain Name?
« Reply #7 on: November 17, 2015, 04:59:42 PM »
https://www.google.it/search?q=mc+dar+plugin
...returns a couple of copies of a ten-year-old announcement of the existence of such a plugin, the talk page for the wiki page Terry cited, noting (two years ago) that there was no information about this "mc plugin for dar", a bug report that the plugin doesn't work in SME 7.5.1...  Yes, it looks like the information is out there, but it's hardly a "search the wiki, everything is there."  Maybe I'll see if I can change that...
......

Offline DanB35

  • *****
  • 764
  • +0/-0
    • http://www.familybrown.org

Offline TerryF

  • grumpy old man
  • *
  • 1,847
  • +6/-0
Re: Backups retained if I change the Domain Name?
« Reply #9 on: November 17, 2015, 10:10:24 PM »
Well done Dan a nice addition, there is more in the wiki on the plugin but you do have to do a bit of reading, research and install a contrib.
--
qui scribit bis legit

Offline Mirfster

  • *
  • 62
  • +0/-0
Re: Backups retained if I change the Domain Name?
« Reply #10 on: November 19, 2015, 01:50:41 PM »
Thanks Dan, I plan on installing that in a test VM and checking it out.  As well, I will try to do a full restore to the VM on a separate Virtual Network to see if things work out.