نمایش نتایج: از شماره 1 تا 4 , از مجموع 4

موضوع: بکاپ از .dropbox.com یا drive.google.com

  1. #1
    عضو جدید
    تاریخ عضویت
    Sep 2013
    نوشته ها
    13
    تشکر تشکر کرده 
    3
    تشکر تشکر شده 
    25
    تشکر شده در
    23 پست

    پیش فرض بکاپ از .dropbox.com یا drive.google.com

    سلام
    کسی هست یه آموزش بده چه جوری بکاپ سرور دانلود رو روی یکی از این دو سایت بریزم؟
    یه آموزش کلی میخوام
    ممنون

  2. # ADS




     

  3. #2
    عضو دائم sarwhost آواتار ها
    تاریخ عضویت
    Jan 2012
    محل سکونت
    iran
    نوشته ها
    1,455
    تشکر تشکر کرده 
    603
    تشکر تشکر شده 
    2,670
    تشکر شده در
    1,818 پست

    پیش فرض پاسخ : بکاپ از .dropbox.com یا drive.google.com

    فکر نکنم همچین چیزی بشه
    اما شما میتونید مثلا بکابهایی که رو سرور مجازی میندازید برا اطمینان بیشتر از اونجا هم به drive.google.com انتقال دهید

  4. #3
    عضو انجمن
    تاریخ عضویت
    Nov 2009
    محل سکونت
    اصفهان
    نوشته ها
    139
    تشکر تشکر کرده 
    23
    تشکر تشکر شده 
    126
    تشکر شده در
    102 پست

    پیش فرض پاسخ : بکاپ از .dropbox.com یا drive.google.com

    این کار شدنی هست البته این اموزش نیاز به دسترسی روت سرور ب دارد .



    How to create a free remote backup solution using Linux and Dropbox.

    In my previous post I wrote about how to backup websites and databases using the command line in Linux.

    In this post I am going to show how to extend this setup with Dropbox to make it a full fledged remote backup solution… and it’s free! (at least for the first 2 GB ;-))

    This post is written for Ubuntu Linux but it should be fairly easy to convert it to other distributions if something varies.
    1. Obtaining an account from Dropbox

    You might want to create a Dropbox account only for taking backups if you don’t want all your documents and photos synchronized to your Linux server.

    Go to www.dropbox.com to create your account.
    2. Dropbox installation

    The installation instructions below are a slightly modified version from the Dropbox community’s to make it as easy as possible.

    Start by logging in to your Linux server as the user you want to assign Dropbox to. In this example we will use root:
    $ sudo su

    Change to your home directory:
    $ cd ~

    Download Dropbox.

    Stable 32-bit:
    $ wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86"

    Or stable 64-bit:
    $ wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86_64"

    Extract:
    $ tar -xvzf dropbox.tar.gz

    It will extract to .dropbox-dist.

    Run Dropbox:
    $ ~/.dropbox-dist/dropbox

    You should see output like this:
    This client is not linked to any account...
    Please visit https://www.dropbox.com/cli_link?hos...da0x67334d02c1 to link this machine.

    Go to the URL given; you should see a success message at the top of your screen.
    Important: Dropbox will create a ~/Dropbox folder and start synchronizing when you do this. Make sure you’ve logged in to the correct Dropbox account at www.dropbox.com before going to the URL.

    Exit Dropbox by pressing CTRL+D.
    3. Installing Dropbox as a service

    The following is a modified single-user version of Drazenko D.’s Dropbox daemon script.

    Start up your favorite editor, creating /etc/init.d/dropbox:
    $ nano /etc/init.d/dropbox

    Insert the following script:
    start() {
    echo "Starting dropbox..."
    start-stop-daemon -b -o -c root -S -x /root/.dropbox-dist/dropbox
    }

    stop() {
    echo "Stopping dropbox..."
    start-stop-daemon -o -c root -K -x /root/.dropbox-dist/dropbox
    }

    status() {
    dbpid=$(pgrep -u root dropbox)
    if [ -z $dbpid ] ; then
    echo "dropbox not running."
    else
    echo "dropbox running."
    fi
    }

    case "$1" in
    start)
    start
    ;;

    stop)
    stop
    ;;

    restart|reload|force-reload)
    stop
    start
    ;;

    status)
    status
    ;;

    *)
    echo "Usage: /etc/init.d/dropbox {start|stop|reload|force-reload|restart|status}"
    exit 1

    esac

    exit 0

    And save and exit the editor.

    Set up execute permissions for the script:
    $ chmod +x /etc/init.d/dropbox

    Set the script to load at startup:
    $ update-rc.d dropbox defaults

    Run the script to start Dropbox:
    $ /etc/init.d/dropbox start

    Make sure Dropbox is running:
    $ /etc/init.d/dropbox status

    And you’re good to go :-). Dropbox will now run as a background service when you start your server.
    4. Backing up to Dropbox

    After installing Dropbox, you can use the backup script from my previous post and backup to the Dropbox instead. Like this:
    $ /var/scripts/backup.sh -d ~/Dropbox/backup/lassebunk/daily -s lassebunk -m lassebunk

    Or, you can manually backup files by copying them to the Dropbox folder:
    $ cp myveryimportantfile.tar.gz ~/Dropbox
    Conclusion

    I hope you found this post helpful when creating your own remote backup solution. If you did, please let me know in the comments how you use it :-).


    ویرایش توسط sadegh.nikaein : September 15th, 2013 در ساعت 00:27

  5. #4
    عضو جدید nerd آواتار ها
    تاریخ عضویت
    Aug 2012
    نوشته ها
    84
    تشکر تشکر کرده 
    0
    تشکر تشکر شده 
    130
    تشکر شده در
    92 پست

    پیش فرض پاسخ : بکاپ از .dropbox.com یا drive.google.com

    اگر بخاید من میتونم دستی براتون انجام بدم هر حجمی که داره مشکلی نیست

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. مشکل Abuse در Google Drive
    توسط VipSc در انجمن مباحث دیگر
    پاسخ ها: 1
    آخرين نوشته: May 31st, 2017, 12:20
  2. باز نشدن drive.google.com
    توسط hmydcm در انجمن مباحث دیگر
    پاسخ ها: 7
    آخرين نوشته: March 28th, 2017, 15:57
  3. سوال: انتقال فایل از سرور به drive.google.com
    توسط ali.n در انجمن مباحث دیگر
    پاسخ ها: 10
    آخرين نوشته: March 31st, 2014, 13:16
  4. پاسخ ها: 5
    آخرين نوشته: April 16th, 2013, 22:58
  5. dropbox از google drive پیشه گرفت
    توسط shamimi در انجمن مباحث دیگر
    پاسخ ها: 3
    آخرين نوشته: May 16th, 2012, 23:04

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •