Auto config salesforce ant-migration-tools and Backup Metadata

Posted by ExiaHuang on October 27, 2018

Topic

  1. Auto config ant-migration-tools.
  2. Backup all salesforce metadata in one click. You do not need to config package.xml !

Environment

  • Set up your java and ant environment.
  • You must install java and ant before use ant dataloader.
  • You not need to Install the dataloader.
  • Make sure you can login your sfdc. Test it : SFDC-XY > Login SFDC

Auto Config ant-migration-tools

Sublime-Menu :SFDC-XY > Migration Tool > Ant Migration Tool

1539848350521

Select Config Ant Metadata Tool

1540431779525

Backup all Metadata

Sublime-Menu :SFDC-XY > Migration Tool > Ant Migration Tool

Select Backup All Metadata

1540431839856

It will take some time to backup all sfdc metadata. It will backup to the sfdc-xy\MetadataBackupTools\backup-metadata\

1540432165067

Tips : It is base on Ant Migration Tool .

Schedule Task , Auto Backup sfdc metadata.

You can find ant-migration-tools in ./sfdc-xy/MetadataBackupTools Folder.

You don’t need to config package.xml.

Just copy MetadataBackupTools and config your system tasks

1539848747628

windows

In windows, you can set task like this.

1539849119939

1539849440133

Unix cron

You can set your cron job in unix/ linux/ mac