Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: Mar on May 24, 2017, 12:55:34 PM
-
Dears,
I want to make a workstation backup on the same machine where the SME9 is running I used the default folder name of the user but I got this message.
Unable to mount workstation shared folder Retrying with upper case share name mount error(6): No such device or address Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Is there a solution for that.
Regards
-
you can't do it and even if possible, you'd really not do it.
please, explain your aim, not your solution, thank you :-)
-
Dear Stefano,
It was clear, That I would like to make a full backup for my SME9 on the same machine not on external NAS or hard disk.
Hopefully it is clear.
-
which is not a backup
if you want to create a "backup" on the same machine (bad idea), you've at least 2 options:
- install backuppc (https://wiki.contribs.org/BackupPC) and configure it to backup SME on itself..
- create a script starting from this wiki page: https://wiki.contribs.org/Backup_server_config#Cloning_a_server_for_Test_purposes.2C_using_inclusion_.26_exclusion_files
in both case you've to be aware that you may fill your HD and that this can't be considered a backup in any way
-
It was clear, That I would like to make a full backup for my SME9 on the same machine not on external NAS or hard disk.
I'm trying to imagine something more useless than a backup of a hard drive on the hard drive that's being backed up, but I'm having trouble doing so. Why do you want to do this?
-
Thank you very much,
But I am using /Backup or restore server data/ then I choose configure backup from workstation the I continue.
So I face my issue here means I need help in this part.
I know it not good idea to backup on the same machine, But my server is far from me so I make backup on the same machine to download it later.
Regards
-
I don't see how the answer could be clearer: You can't run a workstation backup to your SME server. You'll need to use a different method of backup. Stefano suggested two possibilities.
-
But my server is far from me so I make backup on the same machine to download it later.
if your server is connected to internet, use Affa.. or a custom script that uses rsync via ssh.. I use one, self made
-
I'm trying to imagine something more useless than a backup of a hard drive on the hard drive that's being backed up, but I'm having trouble doing so. Why do you want to do this?
That would be an endless loop that would ultimately blow the server apart - if it were to work in the first place, which it will not.......
If you have a server at a remote location, I assume you also have one or more workstations at the same location. Hopefully one of those workstations has enough room on its disk to accept a backup and can be remotely accessed to prepare it to accept a backup.
Perhaps you can talk someone at that location through the steps to ready it for a backup.
-
Dears,
Thank you for your suggestions But,
My issue is
I will explain it in details I am using Backup or restore (which I reach it from web browser). Then I choose configure a workstation backup then I fill the the required info with the same IP of the machine and one of the users I have it then I chose home directory.
After that I go to verify workstation backup so I got the next error message.
Unable to mount workstation shared folder Retrying with upper case share name mount error(6): No such device or address Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Is there a solution for that.
Regards
-
No
-
P.s. an home dir is part of the backup
You'll end in an endless loop
-
No it is under user files
home/e-smith/files/user/xxxx/home
this is the path
-
Which is into home/e-smith, which is into the backup path
-
Yes this the backup path
home/e-smith/files/user/xxxx/home/servername.sss.com
servername.sss.com is the name of the backup
-
Please, don't get me wrong but it seems you lack some knowledge on how SME works
The point is that you can't backup SME the way you want to
-
of course it can be. And I did that before. But I can't remember how I did.
Of course There is many way to backup or clone SME.
But I need this way for a reason.
Many thanks for your efforts .
-
OK
Sorry but you're on your own
-
In any case thanks for you all
-
I did it,
Thank you All specially Stefano.
I will explain what I did. I downloaded Shared folder then created a backup shared folder and gave full access right to one use.
After that backup is ruining well.
My SME info is not lack (Stefano) And not like yours of course it is more than good, But my case is a bit new.
I can not backup the server on NAS or another media because it is not in my office. And because the internet connection to my office is bad. I was forced to do the backup on the same machine. then download it.
If any one has a better idea please advise.
-
you've been already adviced about better approach to your problem, please re-read all the answers you got
what you're doing is wrong for 2 main reasons:
- you're creating a backup on the same hd used by the live system.. if that hd dies, you have no backup at all
- you're creating a backup into a path that is part of the backup path..
IOW, you're backuping the backup sets too.. and this will lead you into a loop, your disk will fill up very quickly
all home/e-smith dir is into the backup set, and the backup target you're using is a subdir of that path
IOW, again, you're doing it wrong
if you're still convinced to use your approach, create a dir under /opt, then share it with samba via a custom fragment (see for example https://wiki.contribs.org/Opsi#Configure_samba_shares and adapt the fragment to your needs pointing to your /opt/subfolder path) and use it for your "backup"
-
Thank you very much for your advises. I got your points And I will try to follow them.
regards