samba_backup script setup

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I downloaded the corresponding script from the sources of my packaged samba version. But with the packaged samba installation, there is no /var/lib/samba/etc.



Am I right, that /etc/samba should be moved to /var/lib/samba/etc and be symlinked back to /etc for the backupscript to work?



I just don't know what's supposed to be in the /var/lib/samba/etc directory, s.t. the backup works out.



[EDIT]



  • It's ubuntu Xenial

  • The backup script is the one mentioned in the samba wiki at https://wiki.samba.org/index.php/Back_up_and_Restoring_a_Samba_AD_DC (take from the sources out of the git repo)









share|improve this question



















  • 1




    No. /etc/samba/ should stay where it is. Which version of Ubuntu are you using?
    – user68186
    Feb 14 at 16:41










  • Could you provide us the link to that "backup script"?
    – M. Dm.
    Feb 14 at 16:47










  • it's xenial. The backup script is taken from the samba sources as mentionend here: wiki.samba.org/index.php/Back_up_and_Restoring_a_Samba_AD_DC
    – Peter
    Feb 14 at 17:15














up vote
0
down vote

favorite












I downloaded the corresponding script from the sources of my packaged samba version. But with the packaged samba installation, there is no /var/lib/samba/etc.



Am I right, that /etc/samba should be moved to /var/lib/samba/etc and be symlinked back to /etc for the backupscript to work?



I just don't know what's supposed to be in the /var/lib/samba/etc directory, s.t. the backup works out.



[EDIT]



  • It's ubuntu Xenial

  • The backup script is the one mentioned in the samba wiki at https://wiki.samba.org/index.php/Back_up_and_Restoring_a_Samba_AD_DC (take from the sources out of the git repo)









share|improve this question



















  • 1




    No. /etc/samba/ should stay where it is. Which version of Ubuntu are you using?
    – user68186
    Feb 14 at 16:41










  • Could you provide us the link to that "backup script"?
    – M. Dm.
    Feb 14 at 16:47










  • it's xenial. The backup script is taken from the samba sources as mentionend here: wiki.samba.org/index.php/Back_up_and_Restoring_a_Samba_AD_DC
    – Peter
    Feb 14 at 17:15












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I downloaded the corresponding script from the sources of my packaged samba version. But with the packaged samba installation, there is no /var/lib/samba/etc.



Am I right, that /etc/samba should be moved to /var/lib/samba/etc and be symlinked back to /etc for the backupscript to work?



I just don't know what's supposed to be in the /var/lib/samba/etc directory, s.t. the backup works out.



[EDIT]



  • It's ubuntu Xenial

  • The backup script is the one mentioned in the samba wiki at https://wiki.samba.org/index.php/Back_up_and_Restoring_a_Samba_AD_DC (take from the sources out of the git repo)









share|improve this question















I downloaded the corresponding script from the sources of my packaged samba version. But with the packaged samba installation, there is no /var/lib/samba/etc.



Am I right, that /etc/samba should be moved to /var/lib/samba/etc and be symlinked back to /etc for the backupscript to work?



I just don't know what's supposed to be in the /var/lib/samba/etc directory, s.t. the backup works out.



[EDIT]



  • It's ubuntu Xenial

  • The backup script is the one mentioned in the samba wiki at https://wiki.samba.org/index.php/Back_up_and_Restoring_a_Samba_AD_DC (take from the sources out of the git repo)






samba backup samba4






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 14 at 17:16

























asked Feb 14 at 16:35









Peter

63




63







  • 1




    No. /etc/samba/ should stay where it is. Which version of Ubuntu are you using?
    – user68186
    Feb 14 at 16:41










  • Could you provide us the link to that "backup script"?
    – M. Dm.
    Feb 14 at 16:47










  • it's xenial. The backup script is taken from the samba sources as mentionend here: wiki.samba.org/index.php/Back_up_and_Restoring_a_Samba_AD_DC
    – Peter
    Feb 14 at 17:15












  • 1




    No. /etc/samba/ should stay where it is. Which version of Ubuntu are you using?
    – user68186
    Feb 14 at 16:41










  • Could you provide us the link to that "backup script"?
    – M. Dm.
    Feb 14 at 16:47










  • it's xenial. The backup script is taken from the samba sources as mentionend here: wiki.samba.org/index.php/Back_up_and_Restoring_a_Samba_AD_DC
    – Peter
    Feb 14 at 17:15







1




1




No. /etc/samba/ should stay where it is. Which version of Ubuntu are you using?
– user68186
Feb 14 at 16:41




No. /etc/samba/ should stay where it is. Which version of Ubuntu are you using?
– user68186
Feb 14 at 16:41












Could you provide us the link to that "backup script"?
– M. Dm.
Feb 14 at 16:47




Could you provide us the link to that "backup script"?
– M. Dm.
Feb 14 at 16:47












it's xenial. The backup script is taken from the samba sources as mentionend here: wiki.samba.org/index.php/Back_up_and_Restoring_a_Samba_AD_DC
– Peter
Feb 14 at 17:15




it's xenial. The backup script is taken from the samba sources as mentionend here: wiki.samba.org/index.php/Back_up_and_Restoring_a_Samba_AD_DC
– Peter
Feb 14 at 17:15















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006193%2fsamba-backup-script-setup%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006193%2fsamba-backup-script-setup%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error