Author Topic: Lost everything from group share  (Read 2748 times)

robaq

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Lost everything from group share
« Reply #15 on: September 12, 2009, 07:19:31 pm »

Just to see, on my test ebox, I backed up the configuration. Then restored it. It did indeed delete the user files when restoring a configuration backup. This should not be..  or at the very least, it should warn you. As most people would assume a "configuration" restore would not touch the user data..

  Installed: 1.2.8-0ubuntu1~ppa1~hardy1
  Candidate: 1.2.8-0ubuntu1~ppa1~hardy1
  Version table:
 *** 1.2.8-0ubuntu1~ppa1~hardy1 0
        500 http://ppa.launchpad.net hardy/main Packages
        100 /var/lib/dpkg/status
     0.11.99-0ubuntu11 0
        500 http://us.archive.ubuntu.com hardy/universe Packages


It means I found a bug :)

The worst thing is that I still have no luck with restoring my files.
I really don't like the EXT3 file system.
 

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Lost everything from group share
« Reply #16 on: September 12, 2009, 08:04:33 pm »
What we are going to do is the following:

- Warn the user
- Move the old directories to /home/samba/prerestore-backup or something like that

I hope to upload a new package including this during this week.

Sorry again for any inconvenience.

dragonslayr

  • Zen Warrior
  • ***
  • Posts: 157
  • Karma: +1/-0
    • View Profile
Re: Lost everything from group share
« Reply #17 on: September 13, 2009, 07:39:43 am »
What we are going to do is the following:

- Warn the user
- Move the old directories to /home/samba/prerestore-backup or something like that

I hope to upload a new package including this during this week.

Sorry again for any inconvenience.
Thanks Javi,
That should work, as long as disk space is not an issue.
Of course, I'm now trying to imagine under what circumstances would I want to do a configuration restore. When testing, right before production I guess.







javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Lost everything from group share
« Reply #18 on: September 13, 2009, 03:31:47 pm »
Quote
That should work, as long as disk space is not an issue.

Disk space won't be an issue. I'ts a "move" operation within the same file system, it boils down to just a renaming :)