Obsolete Releases > SME 8.x Contribs
easy way to back up files for recovery the server
mgb:
1 Server hardware supports
2 the sme 7.. not supports
3 because USB can not be connected. 1t disk/
4 I hooked up a computer sharing
5 I used the backup command
signal-event pre-backup
tar -cz --totals -vvp --directory / --exclude-from=./exclude.txt --files-from=./include.txt -f /mnt/smb/smeserver.tgz
config show backupwk
backupwk=service
BackupTime=15:05
Compression=6
CompressionProg=gzip
DaysInSet=1
FullDay=7
IncOnlyTimeout=no
Login=user
Password=*
Program=dar
SetsMax=1
SmbHost=192.168.183.204
SmbShare=admin
Timeout=8
VFSType=cifs
status=disabled i stop status
Stefano:
--- Quote from: mgb on July 28, 2014, 02:48:24 PM ---1 Server hardware supports
2 the sme 7.. not supports
--- End quote ---
it is not clear to me..
once again, "it doesn't work" without logs and evidence is useless
--- Quote ---3 because USB can not be connected. 1t disk/
4 I hooked up a computer sharing
5 I used the backup command
signal-event pre-backup
tar -cz --totals -vvp --directory / --exclude-from=./exclude.txt --files-from=./include.txt -f /mnt/smb/smeserver.tgz
--- End quote ---
this is ONE approach
--- Quote ---config show backupwk
backupwk=service
BackupTime=15:05
Compression=6
CompressionProg=gzip
DaysInSet=1
FullDay=7
IncOnlyTimeout=no
Login=user
Password=*
Program=dar
SetsMax=1
SmbHost=192.168.183.204
SmbShare=admin
Timeout=8
VFSType=cifs
status=disabled i stop status
--- End quote ---
and this is another approach
the first creates a smeserver.tgz file.. you can create it on a usb disk, on a shared folder, into SME itself..
the second creates a dar backup set..
so, in the end, what kind of backup do you want?
in one of your posts, about tar approach, you wrote
--- Quote ---is not work
nano -w /root/exclude.txt
nano -w /root/include.txt
signal-event pre-backup
tar -cz --totals -vvp --directory / --exclude-from=./exclude.txt --files-from=./include.txt -f /mnt/smb/smeserver.tgz
-rw------- root/root 668 2014-07-21 13:28 etc/ssh/ssh_host_dsa_key
-rw------- root/root 125811 2013-11-23 00:40 etc/ssh/moduli
-r--r----- root/root 4002 2012-03-01 19:18 etc/sudoers
drwxr-xr-x root/root 0 2011-09-23 14:50 opt/
Total bytes written: 19592222720 (19GiB, 11MiB/s)
tar: Exiting with failure status due to previous errors
--- End quote ---
well, we need the errors.
I R E P E A T: if you want help you MUST help us
mgb:
ok thanks.
I'm wrong.
Maybe type format
Important?
But my server is not able to USB disk over size-30-20G ' ntfs
I want the backup to restore.
- Feel free to connect.
- For computer hardware is supported on T1 win7 test
janet:
mgb
--- Quote ---But my server is not able to USB disk over size-30-20G ' ntfs
--- End quote ---
Sme server does NOT support NTFS disks.
Please format any USB disk with ext3 or ext4
Refer Howto articles on USB, disks & RAID
See warning at the start of
http://wiki.contribs.org/USBDisks
mgb:
erro restore
boot net server 9 64b
cd /
signal-event pre-restore
tar -C / -xzvf smeserver.tgz
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
start .. sme
.
init: rcS main process ...
telinit: illegal runlevel: 7
init:rcS post-stop process (818)...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version