Line 1: |
Line 1: |
| + | {{Languages}} |
| + | {{Level|Easy}} |
| === Maintainer === | | === Maintainer === |
| [http://myezserver.com/ Darrel May] (Contrib) | | [http://myezserver.com/ Darrel May] (Contrib) |
| | | |
| === Version === | | === Version === |
− | {{Version|package=smeserver-dar2|description=The latest version of smeserver-dar2 is available in the [http://mirror.contribs.org/smeserver/releases/7/smecontribs/i386/repodata/repoview/smeserver-dar2-0-0.0.1-10.el4.sme.html SME Contribs repository].|stable=0.0.1-10 |epoch=0}} | + | {{#smeversion:smeserver-dar2}} |
| + | [[Version::contrib9|stephdl]][[Has SME9::true| ]] |
| | | |
| === Description === | | === Description === |
Line 9: |
Line 12: |
| | | |
| === Installation === | | === Installation === |
| + | <tabs container style="display: inline-block;"><tab name="For SME 10"> |
| + | {{Note box| work in porgress, for testing purpose only}} |
| + | To install this contribs issue the following command on the SME Server shell: |
| + | yum install smeserver-dar2 --enablerepo=smecontribs,smedev,smetest,epel |
| + | </tab><tab name="For SME 9"> |
| + | You have to enable the [[stephdl]] repository. see [[bugzilla:8508]] |
| + | yum install smeserver-dar2 --enablerepo=stephdl |
| + | signal-event post-upgrade;signal-event reboot |
| + | </tab><tab name="For SME 8"> |
| To install this contribs issue the following command on the SME Server shell: | | To install this contribs issue the following command on the SME Server shell: |
| yum install smeserver-dar2 --enablerepo=smecontribs | | yum install smeserver-dar2 --enablerepo=smecontribs |
| + | signal-event post-upgrade;signal-event reboot |
| + | </tab> |
| + | </tabs> |
| | | |
| === Usage === | | === Usage === |
Line 88: |
Line 103: |
| dar2-mc = script that launches Midnight Commander and provides access to your archives<br> | | dar2-mc = script that launches Midnight Commander and provides access to your archives<br> |
| dar2-restore = script that performs restore<br> | | dar2-restore = script that performs restore<br> |
| + | |
| + | ==== Manual restore of DAR2 configuration ==== |
| + | It is possible to selectively restore the DAR2 configuration (backup job settings etc) from a full system backup. |
| + | Firstly install the DAR2 contrib on a new server, which will of course have no backup jobs configured. |
| + | |
| + | Then look at the backup file in the backup target location and find a file called db.zip. Extract the dar2 db file and copy it to /home/e-smith/db on the new server, to restore the previous DAR2 configuration. |
| + | |
| + | ===Known issue=== |
| + | |
| + | ====Cifs Error==== |
| + | When using the included backup functionality, or the DAR2 contrib, backing up to a windows remote share generates the following cifs errors. see [[bugzilla:7341]] |
| + | Feb 12 11:51:25 sme e-smith-bg: Connecting /mnt/dar2/backup to \\192.168.10.30\bkp |
| + | Feb 12 11:51:25 sme kernel: CIFS VFS: Send error in SessSetup = -12 |
| + | Feb 12 11:51:25 sme kernel: CIFS VFS: cifs_mount failed w/return code = -12 |
| + | Feb 12 11:51:25 sme e-smith-bg: mount error(12): Cannot allocate memory |
| + | Feb 12 11:51:25 sme e-smith-bg: Refer to the mount.cifs |
| + | |
| + | The solution could be to modify the windows registry by the file below |
| + | |
| + | Windows Registry Editor Version 5.00 |
| + | [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] |
| + | "LargeSystemCache"=dword:00000001 |
| + | [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters] |
| + | "Size"=dword:00000003 |
| + | |
| + | Save the content above in a file with the name W7-backup.reg and import it in the windows registry, restart the service or the Windows computer |
| | | |
| === Bugs === | | === Bugs === |
− | Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=dar2}}and select the smeserver-dar2 component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-dar2|title=this link}}. | + | Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=dar2}}and select the smeserver-dar2 component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-dar2|title=this link}}. |
| + | |
| + | |
| + | {{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-dar2|noresultsmessage="No open bugs found."}} |
| | | |
| === Check installed version === | | === Check installed version === |