Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Backup with dar
(view source)
Revision as of 13:25, 19 July 2018
449 bytes added
,
13:25, 19 July 2018
Add notes on manually mounting the configured backup destination, finding backup sets, and unmounting
Line 382:
Line 382:
First, MOUNT THE BACKUP DRIVE (if required):
First, MOUNT THE BACKUP DRIVE (if required):
mount /dev/sdc1 /media/BackupDrive1/
mount /dev/sdc1 /media/BackupDrive1/
+
+
You can mount the configured CIFS/SMB destination using<syntaxhighlight>
+
mount -t cifs //$(config getprop backupwk SmbHost)/$(config getprop backupwk SmbShare) /mnt/smb -o credentials=/etc/dar/CIFScredentials
+
</syntaxhighlight>List available backup sets using<syntaxhighlight>
+
ls /mnt/smb/$(config get SystemName).$(config get DomainName)/
+
</syntaxhighlight>
Then, RESTORE THE DIRECTORY:
Then, RESTORE THE DIRECTORY:
Line 389:
Line 395:
{{Warning box|Be sure to use -R ./ (the dot) to restore in the current dir, otherwise you'll restore files/dirs in their original path}}
{{Warning box|Be sure to use -R ./ (the dot) to restore in the current dir, otherwise you'll restore files/dirs in their original path}}
−
−
You may also have to RESTORE ANY INCREMENTS:
You may also have to RESTORE ANY INCREMENTS:
Line 398:
Line 402:
dar -x /media/BackupDrive1/server.domain.local/set2/inc-004-201408132200.1.dar -N -R ./ -w -g home/e-smith/files/ibays/share_data/files
dar -x /media/BackupDrive1/server.domain.local/set2/inc-004-201408132200.1.dar -N -R ./ -w -g home/e-smith/files/ibays/share_data/files
−
+
{{Note box|Unmount the backup destination after any manual exploration:
+
umount /mnt/smb}}
----
----
[[Category: Backup]]
[[Category: Backup]]
[[Category:Howto]]
[[Category:Howto]]
Mmccarn
Administrators
688
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search