Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: Mar on April 14, 2016, 09:37:16 AM
-
Dear Friends,
I made a backup by using the backup and restore,the full backup is going well but while I am trying to restore the backup after 2 hours it stops and I can not see my shared folders
Notice: the backup size 172 GB
-
after 2 hours it stops and I can not see my shared folders
any error message?
-
no
-
ok.. so, start from the beginning, telling us exactly what you're doing
first of all.. are we talking about the console backup or the server-manager one?
during the restore, please open a shell and watch at /var/log/messages with
tailf /var/log/messages
-
I am using server manger backup and i am restoring backup from workstation on local network
-
tailf /var/log/messages
Apr 14 11:13:20 servername esmith::event[3948]: S25ldap-delete-dumps=action|Event|p re-restore|Action|S25ldap-delete-dumps|Start|1460621599 949385|End|1460621600 94 7685|Elapsed|0.9983
Apr 14 11:13:20 servername esmith::event[3948]: Running event handler: /etc/e-smith /events/pre-restore/S80delete-index-htm
Apr 14 11:13:21 servername esmith::event[3948]: S80delete-index-htm=action|Event|pr e-restore|Action|S80delete-index-htm|Start|1460621600 948445|End|1460621601 2882 |Elapsed|0.054437
Apr 14 11:13:21 servername esmith::event[3948]: Running event handler: /etc/e-smith /events/actions/adjust-services
Apr 14 11:13:21 servername esmith::event[3948]: adjusting supervised mysqld (stop)
Apr 14 11:13:21 servername esmith::event[3948]: adjust-services=action|Event|pre-re store|Action|adjust-services|Start|1460621601 3871|End|1460621601 110392|Elapsed |0.106521
Apr 14 11:13:21 servername esmith::event[3948]: Running event handler: /etc/e-smith /events/pre-restore/S90delete-smbpasswd
Apr 14 11:13:21 servername esmith::event[3948]: S90delete-smbpasswd=action|Event|pr e-restore|Action|S90delete-smbpasswd|Start|1460621601 111067|End|1460621601 1678 63|Elapsed|0.056796
Apr 14 11:13:21 servername esmith::event[3948]: Running event handler: /etc/e-smith /events/pre-restore/S99mysql-delete-db-files
Apr 14 11:13:21 servername esmith::event[3948]: S99mysql-delete-db-files=action|Eve nt|pre-restore|Action|S99mysql-delete-db-files|Start|1460621601 168778|End|14606 21601 295559|Elapsed|0.126781
-
those are not error messages..
wait until restore stops and see if there's something interesting..
you can monitor restoring process opening another shell and giving
watch -n 120 df -h
every 2 minutes it shows space allocation.. teorically speaking you'd see used space value increasing
-
Now it stopped without any error.
Note: Always it stops while it trying to restore a same file.
-
which file? is it big? how much?
-
yes it big around 950MB
-
yes it big around 950MB
Are you sure it is stopping and not just taking a long time with such a large file?
-
Yes of course because before stopping it was written on the browser it it transferring the data also the browser was loading. after stopping the browser stopped the loading and transferring the data
-
Yes of course because before stopping it was written on the browser it it transferring the data also the browser was loading. after stopping the browser stopped the loading and transferring the data
I don't think you can assume that because the browser output stops that the restore has stopped.
Perhaps you need to try the restore from the command line, someone here can probably give you the command to dar that you'd need. You could try to restore just that file using dar to see if it finishes properly.
-
the issue I can not know the dar file which contain my physical file.
Is there any option to restore big files should I do before I start restoring be backup?
thank you
-
https://wiki.contribs.org/Backup_with_dar#Manually_restoring_from_dar_archive_created_by_e-smith-backup
-
the issue I can not know the dar file which contain my physical file.
Is there any option to restore big files should I do before I start restoring be backup?
thank you
You do not need to know which of the dar files contains your file you just give dar the path of the first file (perhaps not all of it), then tell it which file to extract.
http://dar.linux.free.fr/doc/presentation.html
and
# dar --help
usage: dar [ -c | -x | -d | -t | -l | -C | -+ ] [<path>/]<basename> [options...]
dar -h
dar -V
Commands are:
-c creates an archive
-x extracts files from the archive
-d compares the archive with the existing filesystem
-t tests the archive integrity
-l lists the contents of the archive
-C isolates the catalogue from an archive
-+ merge two archives / create a sub archive
-h displays this help information
-V displays version information
so you probably want something like this (untested)
dar -x /media/<usbdisk>/<domain>/set<n>/full-nnnnnnnnnnnnnn -v -I <fullpath of file to extract>
I seem to remeber that the full path of the file to be extracted should NOT start with "/".
You'l have to experiment with this.
oh - I see Stefano has posted a wiki link - suggest you look at that...
-
in any case, you'd really let your server work
is there any activities (hdd led) after you see things stop?
open a shell and
top
check if dar is running.. if so, your restore is still working
-
Dear All,
Thank you very much for your quick response.
My problem was resolved.
The solution it was working in the background.
I monitored it throw DAR it was working it finished the restore after 8 hours.
Thanks a lot for you.