Mksbackup появляется при запуске компьютера

Обновлено: 04.07.2024

Version 0.9.39b is in use for a long time now and is stable. This version contains little bug fixes.

August 5, 2011

Version 0.9.37 is out.

Version 0.9.37 contains some bug fixes and small improvements for the post ghettoVCB backup FTP and SSH transfer.

March 21, 2011

Version 0.9.30 is out.

The installation helper is available for Linux and Windows hosts and includes download and installation of ghettoVCB.sh script and configuration files.
ghettoVCB front-end provides FTP upload to any FTP server or to local host via an automatic built-in FTP server. Now FTP and SSH transfers starts as soon as an image file as been backed-up and run in parallel with the backup.
tar front-end supports differential and incremental backups.

MKSBackup is a free front-end for common backup tools like MS Windows ntbackup, and it successor wbadmin, Un*x tools like tar, but also popular ghettoVCB to backup Virtual Machine on VMware ESX(i) host.
MKSBackup is developed in Python and is available for Microsoft Windows, Linux and other Un*x systems.
MKSBackup is driven by a Command line interface and jobs are defined in an INI file. Its main feature is to send an email report including log files and hints that could give the user confidence about the status of the backup.

Advantages

MKSBackup rely on the most reliable backup tools available, but allows to use the same tool whatever OS or version you are using. Learn one tools and backup them all !

Installation

Windows

The .exe don't require the installation of Python. It works on all 32 and 64 bits architectures, from Windows 2000 up to Server 2008R2. You need to have the Microsoft Visual C++ 2008 Redistributable Package on your computer. It is probably already installed, but if when running MKSBackup in a command prompt you get this error:

This is because you need to install it ! The vcredist_x86.exe is freely available from the Microsoft. Even if you run a 64bits OS, you need to install it.

Windows self install procedure

The .exe file can install itself. It can create directories, provides a default configuration file and create a backup task in the task scheduler. Download the file mksbackup-X.X.X-win32.zip, extract its content in one directory and double click on mksbackup.exe. A DOS box pop up and asks you some questions. Push ENTER if you agree with default values. No existing configuration files will be overwritten.

Be careful on Windows Vista and above you could have problems with the User Account Control when running installation. Try to disable your (UAC). Windows 2008R2 looks to be more permissive.

Now you should have this directory tree on your disk:

Modify the mksbackup.ini file and the task to meet your need.

Even on Windows you can run MKSBackup from the sources using Python interpreter. Version 2.6 is recommended. The developer team use ActivePython 2.6.x from Activestate. This distribution already include the necessary Win32 Extensions. Depending the back-end you want to use, other modules could be required. Read the the Un*x section below for more details.

Linux and other Un*x

MKSBackup is a Python package and can be installed like any other packages as soon as python 2.4 or above is already installed. Python 3.X is not supported. MKSBackup has been registered on PyPI and can be installed from the Internet using easy_install or pip using :

You can also install it the old way. Download the sources and extract the archive in one directory, jump into it and run :

easy_install is usually part of setuptools package on most Linux distributions. If not found, install setuptool this way:

Python version 2.6 and above can run the .egg file directly without installing it ! Anyway you still depend of the dependencies bellow.

Depending the back-end you want to use, you need to install other python packages. Of course windows mksbackup.exe already include all these dependencies !

back-end modules
tar don't require any additional packages.
ghettoVCB paramiko and pycrypto to manage the SSH protocol.
esxmon PyWBEM 0.6 is now included into MKSBackup and is no more required !
ntbackup and wbadmin pywin32, ActivePython 2.6.x already include it.

paramiko and pycrypto are usually available as standard packages on most popular distributions like RedHat, CentOS, Fedora, Debian or ubuntu. Use yum or apt-get to install them. If not, use easy_install or pip or even the old python setup.py install way ! If installed this way, pycrypto requires to be compiled and need gcc to be installed !

Version 0.6 of PyWBEM is now included to limit dependencies.

Linux self install procedure

Linux version can also create /etc/mksbackup directory, copy sample .inifile and download and install ghettoVCB part into vmware sub-diretory. It also create a cron entry into /etc/cron.d/mksbackup. To start installation use -i switch.

The configuration file

The configuration file is a .ini file. Here is a sample.

Each section describes a job. Common parameters can be put in the [DEFAULT] section. When a parameter is missing in the job definition, MKSBackup search in the [DEFAULT] section. If a parameter exists in both sections, then the one in the job section is used. DEFAULT is not a valid job name.

The destination syntax is described here.

For more information about the job parameters, check the common parameters page and the related back-end page.

Start it

MKSBackup must be run from the command line, on Windows platforms, users can use mksbackup.exe. For other platforms, the usual way is to install the package !

Usually, python install application scripts in the same directory as the python interpreter itself and users can run them using their names :

Option -h display the help !
If it is not working, search for the file and use the full path :

Users using python 2.6 and above can run the .egg without installing it :

Usage

All available options can be retrieved using -h option ! Most used options are :

  • -q disable logging on the console.
  • -v tell MKSBackup to display log on the console. (default)
  • -d display more debugging messages.
  • -c allows to select a configuration file, default is mksbackup.ini.
  • -e this is the encoding of the configuration file if MKSBackup cannot guess it.
  • -s (beta) specify the directory where to write the status files for each jobs.
  • -l specify the log file.

MKSBackup try to guess the encoding of the configuration file depending on the BOM of the file if any or use windows-1252 on windows platform and utf8 on other. You can force an encoding using the -e options. Valid encodings can be found here.

The <command> can be one of :

  • check to check the validity of parameters for selected jobs.
  • checkmail to test the mail configuration for selected jobs.
  • backup to start the backup.

Troubleshooting

MKSBackup provide some help for troubleshooting. You can display error message on the console (option [-v]) and increase verbosity (option [-d]). MKSBackup log all operations into mksbackup.log file in the current directory or the file defined by option -l.

Usage sample

MKSBackup can make a deep check of all parameters and report any errors or warnings. It checks also the access right on destination directory to avoid any surprises during the backup. This is valuable when setting up a backup for the first time ! To verify the parameters of the .ini file above, we are using the check command. When you use check or checkmail, use the same user as the one that will do the backup to be as close as possible as the real job, to generate the same issues if any.

MKSBackup is very verbose ! It first tell you a new version is available and where to download it.

When all errors have been corrected, MKSBackup can do more ! Start the same command again !

The destination parameters can dispatch the backup to different locations and filenames depending of the date of the backup. The check command calculates these locations for the next few days. It also check these locations one by one and warn you when one is unreachable or don't exist.

At the end, MKSBackup display the command line it will use to start the back-end.

If you use the checkmail command instead, it will sent you these few lines by email, to check the email configuration.

When you are ready, start the backup using backup command !

When the job is done, it send you all related informations by email, check details in the back-end page.

Don't forget to check the log file, default is mksbackup.log if you have problems.

Schedule a job

MKSBackup don't provide any task scheduler to schedule a daily backup. You must use the one of your OS. Windows users will use the Task Scheduler, Unix users will use the Cron. The recommended command line for Windows host is :

"C:\Magik\MKSBackup\mksbackup.exe" -q -l "C:\Magik\mksbackup.log" -c "C:\Magik\mksbackup.ini" backup JOB_NAME

  • C:\Magik\MKSBackup\mksbackup.exe is where you have installed your exe file.
  • -q make MKSBackup quiet, only the log file is updated.
  • C:\Magik\mksbackup.log is the place for your log file
  • C:\Magik\mksbackup.ini is the place for your configuration file.

For testing, you can use command checkmail instead of backup and set next schedule in a short interval. If you get the mail and no errors or warnings then setup the right time and switch to the backup command.

Under Linux, the command line is similar to the one above, except for the file location !

<mksbackup> -q -l /var/log/mksbackup.log -c /etc/mksbackup/mksbackup.ini backup JOB_NAME

<mksbackup>, the way you start MKSBackup is explained in section Start it above.

Linux

Cron can be configured in two ways. Both are similar, but the second one require to set the username for the cron command.

crontab -e

When logged as root, use command crontab -e to open the crontab file for user root. This file is usually in /var/spool/cron/root. Add the lines :

For more information on the file format, read the crontab manual.

files in /etc/cron.d

You can also modify or add a file in the system cron. Create the file /etc/cron.d/mksbackup with the following content :

Windows

When started without argument, mksbackup.exe start a quick install procedure that terminates by the creation of the pre-configured task MKSBackup! You are strongly advised to use this procedure ! You can even restart the process, existing configuration will not be overwritten.
Anyway here are hints to create or tune task manually.

Windows XP and Windows 2003 server

The following command will create the task for you, edit the parameters to meet your need !

XP task scheduler

. and open the Task Scheduler to fine tune it.

Windows Vista, 7, 2008 and R2

Since Vista, SCHTASKS command has changed a little :

Win 2008 task scheduler - general

. and open the Task Scheduler.

Be sure Run with highest Privilege is enable and the task will run even if no user are logged on.

Win 2008 task scheduler - action

Be careful, here the command line is in 2 parts: the program and arguments !


Привет друзья Значит установил я игру одну и потом заметил, что на рабочем столе появился ярлык MyPC Backup. Судя по названию это программа, которая имеет отношение к бэкапу. И как я понял то таким способом программу продвигают, ну то есть впаривают ее юзерам вместе с нормальным софтом.

В самом бэкапе ничего плохого нет, если вы не знаете что это, то ничего, я сейчас расскажу. Бэкап это когда вы копируете важные файлы или всю систему специально для того, чтобы на всякий случай все это можно было восстановить. В самой Windows есть встроенный инструмент для создания бэкапа всего системного раздела. Вот вы поставили винду, поставили проги, сделали бэкап. Если вирус погрызет винду, то вы сможете вернуть из бэкапа ту рабочую винду с установленными вашими прогами. Ну, надеюсь понятно..

Вот программа MyPC Backup тоже это делает, но она больше направлена на любые файлы, то есть вы ей указываете в настройках что нужно бэкапить и она это делает. Но копирует она файлы в облако (то есть на сервера в интернете), это главная фишка проги.

Когда я запустил MyPC Backup, то она предложила мне зарегистрироваться, ну там нужно было ввести почту и пароль и имя. Я это сделал, после этого программа запустилась.

Потом показалось такое окно, кстати интерфейс программ неплохой:


Вот окно настроек:


Там в настройках внизу есть выбор языка, но к сожалению русского я там так и не нашел:


В главном окне написано сколько свободно у вас места в облаке, и когда следующий будет бэкап:



Также программа сидит в трее:


В диспетчере задач прога сидит под процессом MyPC Backup.exe:


А устанавливается вот в эту папку:

C:\Program Files (x86)\MyPC Backup


Кстати на рабочем столе у меня также появился еще один какой-то ярлык Sync Folder:


Этот ярлык тоже относится к программе MyPC Backup.

Как удалить MyPC Backup с компьютера полностью?

Перед тем как удалить программу, я рекомендую закрыть ее:


Вообще если вы отлично шарите в компах, ну то есть в софте, то может вам стоит посмотреть на один удалятор? Он называется Revo Uninstaller, при помощи него вы можете не только удалить любую прогу с компа но и очистит от оставшегося мусора

Ну так вот. А теперь как удалить встроенными средствами винды. Нажимаем Пуск, а там выбираем Панель управления (если у вас десятая винда, то там зажмите Win + X и в меню будет этот пункт):


Потом найдите значок Программы и компоненты:


В списке установленного софта нужно найти MyPC Backup (у меня версия 1.0.0), нажать правой кнопкой и выбрать Удалить:


Появится такое окно, тут нажимаете Uninstall:


И все ребята, потом все удалится быстро и без каких либо проблем.

Ну что, вроде бы я все написал. Надеюсь что все понятно и вам эта инфа была полезной. Желаю вам удачи

Читайте также: